[R] contriburl argument to install.packages
Roger D. Peng
rpeng at jhsph.edu
Thu Jul 15 16:29:48 CEST 2004
Would this work for you?
install.packages(pathtopackagezipfile, CRAN = NULL)
Although, you can only do one at a time, I think.
John Fox wrote:
> Dear list members,
> I can't figure out how to specify the contriburl argument to
> install.packages() properly when the packages to be installed are in a
> directory on my local machine. I have in mind a command something like
> install.packages(missing.packages, contriburl=directory,
> Where missing.packages is a character vector of package names (without
> versions) and directory is the location where they reside (less PACKAGES, I
> guess). I'm using R version 1.9.1 on a Windows XP machine. Several
> variations on directory <- "file:c:/temp" don't seem to work.
> Any help would be appreciated.
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help