RE: [R] contriburl argument to install.packages

From: John Fox <jfox_at_mcmaster.ca>
Date: Fri 16 Jul 2004 - 01:02:27 EST


Dear Roger,

> -----Original Message-----
> From: Roger D. Peng [mailto:rpeng@jhsph.edu]
> Sent: Thursday, July 15, 2004 9:30 AM
> To: John Fox
> Cc: r-help@stat.math.ethz.ch
> Subject: Re: [R] contriburl argument to install.packages
>
> Would this work for you?
>
> install.packages(pathtopackagezipfile, CRAN = NULL)
>

This doesn't work for me since it requires that one to include the version part of the file name.

Thanks,
 John

> Although, you can only do one at a time, I think.
>
> -roger
>
> 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,
> > lib=.libPaths()[1])
> >
> > 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.
> >
> > John
> >
> > ______________________________________________
> > R-help@stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
> > http://www.R-project.org/posting-guide.html
> >



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 16 01:12:09 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:54:59 EST