This question already has answers here:
How should I deal with "package 'xxx' is not available (for R version x.y.z)" warning?
(18 answers)
Closed 2 years ago.
How can I install R package GWASpoly. I have been trying from last week with bundle of different methods. but all went useless. Always showing this msg:
package ‘GWASpoly’ is not available (for R version 3.3.3)
Can any body help me out in this?
i) Go to this website: http://potatobreeding.cals.wisc.edu/software/
ii) Download the package
iii) In R, install using the following command: install.packages("~/Downloads/GWASpoly_1.3.tar.gz", repos = NULL, type = "source")
Related
This question already has answers here:
Rcpp package doesn't include Rcpp_precious_remove
(2 answers)
Closed 1 year ago.
I am trying to read a file into r and I keep getting this error. All of my libraries are installed and loaded. It is a spreadsheet with 2 sheets and I only want data from the second sheet.
read.xlsx(dataUrl, sheet = 2)
Error in getChildlessNode(xml = workbookRelsXML, tag = "Relationship") :
function 'Rcpp_precious_remove' not provided by package 'Rcpp'
You have to install the Rcpp package first:
install.packages('Rcpp')
library('Rcpp')
read.xlsx(dataUrl, sheet = 2)
This question already has answers here:
Rcpp package doesn't include Rcpp_precious_remove
(2 answers)
Closed 1 year ago.
I recently updated Amelia to the most recent version 1.8.0, built: 2021-05-26.
Now, when I try to use the amelia() function, I get the error
Error in emarch(x.stacked$x, p2s = p2s, thetaold = NULL, tolerance = tolerance, :
function 'Rcpp_precious_remove' not provided by package 'Rcpp'
I updated Rcpp, but it was not solved.
Any help please?
It seems that I first had to uninstall and reinstall (rather than update) the Rcpp package.
Problem solved now!
This question already has answers here:
Error: could not find function ... in R
(10 answers)
Closed 1 year ago.
I want to use spread function from tidyr package but my RStudio says
"Error in spread(., nama_event, created_at) :
could not find function spread"
Therefore, I want to install tidyr package but it doesn't exist in RStudio 1.4.1.
Instead of using spread you should use pivot_longer.
https://tidyr.tidyverse.org/articles/pivot.html
To install a package, you shoud use install.packages.
This question already has answers here:
How should I deal with "package 'xxx' is not available (for R version x.y.z)" warning?
(18 answers)
Closed 3 years ago.
package fpc is not available (for R version 3.5.3)
I have tried a few methods:
github_pkgs <- c("cran/Rstem")
install_github(github_pkgs)
install.packages("fpc", repos= 'http://cran.us.r-project.org')
install.packages("fpc_2.1-11.2.tar.gz", repos = NULL)
Thank you if you can help me out of this loop...
None of them works
The fpc package requires R version 3.6.0. You can see that in the summary page of the package:
https://cran.r-project.org/web/packages/fpc/index.html
Version: 2.1-11.2
Depends: R (≥ 3.6.0) Imports: MASS, cluster, mclust, flexmix, prabclus, class, diptest, mvtnorm, robustbase, kernlab, trimcluster,
grDevices, graphics, methods, stats, utils Suggests: tclust,
pdfCluster Published: 2019-04-26 Author: Christian Hennig
This question already has answers here:
How can I view the source code for a function?
(13 answers)
Closed 8 years ago.
I used the packages "tm", "lda" and "topicmodels" in R.
Is there open source code for these packages (in other language(s)) so that I could modify the core??
Every package on CRAN (the main R archive) has a link to the source code. e.g.
http://cran.r-project.org/web/packages/lda/index.html
lists:
Reference manual: lda.pdf
Package source: lda_1.3.2.tar.gz
MacOS X binary: lda_1.3.2.tgz
Windows binary: lda_1.3.2.zip
Old sources: lda archive
download the package source, extract it (7-zip will extract tar.gz archives on Windows, I think) and there will be the source code.