This question already has answers here:
How do I install an R package from the source tarball on windows?
(6 answers)
Closed 4 years ago.
I am struggling to install the 1.1-13 version of lme4 package in R. I went to https://cran.r-project.org/src/contrib/Archive/lme4/ . But I am not understanding the next step after downloading lme4_1.1-13.tar.gz. What should I do next?
Thanks in advance.
You do the follow:
install.packages("path_to_file/lme4_1.1-13.tar.gz", repos = NULL, type="source")
Or in the terminal:
R CMD INSTALL lme4_1.1-13.tar.gz
This second way will not work if the needed system tools for compilation are not present.
Related
This question already has answers here:
How do you use multiple versions of the same R package?
(3 answers)
Closed 4 years ago.
I wonder, can I do any harm to my system (or the stability of R installation) if I install some package twice. Or when installing a new package it will simply overwrite the previous version.
Happens to me all the time that I execute install.packages on something that I have installed before. You just get a warning.
This question already has answers here:
How do I install an R package from the source tarball on windows?
(6 answers)
Closed 1 year ago.
I downloaded the Windows binary file dmGWAS_2.3.zip clickHere and try to install it by clicking Packages/install package from local zip file. After install, when I try to load 'dmGWAS' I got the error 'Error: package ‘dmGWAS’ was built before R 3.0.0: please re-install it'. I am using win 7 and R 3.1.0.
I searched similar questions but find no solution.
try:
> update.packages(checkBuilt = TRUE, ask = FALSE)
The authors release the newest version dmGWAS_3.0, which is compatible with dmGWAS_2.3. You can use the new version at http://bioinfo.mc.vanderbilt.edu/dmGWAS/
This question already has answers here:
Installing older version of R package
(8 answers)
Closed 7 years ago.
I am trying to install the R package bigrf using the following command:
install.packages('bigrf')
However, I receive this error:
Warning in install.packages: package 'bigrf' is not available (for R version 3.0.2).
I understand that the package was not built for R version 3.0.2, but is it not possible for me to install it regardless with the understanding that it might not have complete forward compatibility?
The safest thing to do would be to download the last version that the package was built for (link) and run the code on that version.
The easiest way to rebuild a package from source is using R-Studio.
They have a good walkthrough. You will need to use the devtools package as well.
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 5 years ago.
I am running R version 3.0.1 in a 64 bit OS, and I have tried to install Rgraphviz 3 different ways:
1) I have used install.packages(Rgraphviz), but I get the error
Error in install.packages(Rgraphviz) : object 'Rgraphviz' not found
2) I have tried going through Packages > Install Packages in the R window, but I cannot find Rgraphviz
3) When I go through CRAN, at http://cran.r-project.org/web/packages/Rgraphviz/index.html, I get the message "Package ‘Rgraphviz’ was removed from the CRAN repository."
Does anyone know if there is any way I can get Rgraphviz, or if there is a suitable alternate?
You need to install it directly from the bioconductors site.
For R versions >= 3.5:
install.packages("BiocManager")
BiocManager::install("Rgraphviz")
For older R versions:
source("http://bioconductor.org/biocLite.R")
biocLite("Rgraphviz")
More info can be found here.
You just need to remember that the instruction install.packages requires you to enclose the package name between quotes, like this:
install.packages("Rgraphviz")
This question already has answers here:
Cannot install R-forge package using install.packages
(4 answers)
Closed 9 years ago.
I could not install the fPortfolioBacktest.
Because the link is missing. Only Linux and Mac are available.
to install:
install.packages("fPortfolioBacktest", repos="http://R-Forge.R-project.org")
I have the below error messages:
package ‘fPortfolioBacktest’ is available as a source package but not as a binary
Warning message:
package ‘fPortfolioBacktest’ is not available (for R version 3.0.0)
Can anyone help me?
With R 3.0.0, if you have all the dependencies for fPortfolioBacktest installed, you can install it from source by specifying type=source:
install.packages("fPortfolioBacktest", repos="http://r-forge.r-project.org",
type="source")