Subramanian S
2010-Jun-22 05:36 UTC
[R] installing packages from a directory on the computer
i wish to know how to set a folder in computer as a mirror from which i can install packages i am aware of the menu approach- "Packages>install from local zip files" but i wish to know the command line approach because i dont have internet access on the computer where i will be using R. i have put the zip files of packages in C:\R\packages\bin\windows\contrib\2.11 i have put the following lines in Rprofile.site local({r <- getOption("repos") r["CRAN"] <- "file://C:/R/packages/" options(repos=r)}) but when i run install.packages("package_name_here"), i get the following message: Warning in gzfile(file, "r") : cannot open compressed file '//C:/R/packages/bin/windows/contrib/2.11/PACKAGES', probable reason 'No such file or directory' Error in gzfile(file, "r") : cannot open the connection Please help [[alternative HTML version deleted]]
Subramanian S
2010-Jun-22 05:39 UTC
[R] installing packages from a directory on the computer
i wish to know how to set a folder in computer as a mirror from which i can install packages i am aware of the menu approach- "Packages>install from local zip files" but i wish to know the command line approach because i dont have internet access on the computer where i will be using R. i have put the zip files of packages in C:\R\packages\bin\windows\contrib\2.11 i have put the following lines in Rprofile.site local({r <- getOption("repos") r["CRAN"] <- "file://C:/R/packages/" options(repos=r)}) but when i run install.packages("package_name_here"), i get the following message: Warning in gzfile(file, "r") : cannot open compressed file '//C:/R/packages/bin/windows/contrib/2.11/PACKAGES', probable reason 'No such file or directory' Error in gzfile(file, "r") : cannot open the connection Please help [[alternative HTML version deleted]]
Seemingly Similar Threads
- Installing packages from folder on the computer
- package xpose4 in Vista - Update
- Problems installing packages using the inbuilt facility: "Error i n gzfile(file, "r") : unable to open connection"
- problems installing package XML to a computer without an internet connection
- rJava Installation Problems: 'cannot open compressed file 'rJava/DESCRIPTION', probable reason 'No such file or directory''