[R] 'install package(s) from local zip files': what is the syntax for that?

2011-08-20 Thread Bogaso Christofer
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]]

__
R-help@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.


Re: [R] 'install package(s) from local zip files': what is the syntax for that?

2011-08-20 Thread Uwe Ligges



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@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.


__
R-help@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.