Uwe Ligges
2011-Aug-20 17:58 UTC
[R] 'install package(s) from local zip files': what is the syntax for that?
On 20.08.2011 20:07, Bogaso Christofer wrote:> Dear all, if I want to install a package in windows system then generally I > use the 'install package(s) from local zip files' from the 'package' menu. > However I am interested to know that whether there is any syntax which I can > use in the R console instead. I have tried with > install.packages("__package_name", repos = 'f:/"), however could not.Let me read ?install.packages for you: The description of the first argument tells us: "If repos = NULL, a character vector of file paths of ?.zip? files containing binary builds of packages." Hence install.packages("f:/__package_name", repos = NULL) seems to be more appropriate here. Uwe Ligges> > > > Any suggestion will be highly appreciated. > > > > Thanks, > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Bogaso Christofer
2011-Aug-20 18:07 UTC
[R] 'install package(s) from local zip files': what is the syntax for that?
Dear all, if I want to install a package in windows system then generally I use the 'install package(s) from local zip files' from the 'package' menu. However I am interested to know that whether there is any syntax which I can use in the R console instead. I have tried with install.packages("__package_name", repos = 'f:/"), however could not. Any suggestion will be highly appreciated. Thanks, [[alternative HTML version deleted]]