I need to install a selected set of packages on a number of machines (in a computer lab). Some of these machines are not connected to internet. Is it possible to download all the packages and make a kind of repository on a CD, and then install.packages from the CD? Vikas ============================================= This Mail was Scanned for Virus and found Virus free
Vikas Rawal wrote:> I need to install a selected set of packages on a number of machines (in a computer lab). Some of these machines are not connected to internet. Is it possible to download all the packages and make a kind of repository on a CD, and then install.packages from the CD?Yes, just download the packages and install.packages with CRAN=NULL ... Instead, you might want to mount the installed packages from a network volume instead, adding a second library path for R. So you only need to install stuff once. Uwe Ligges> Vikas > > =============================================> > This Mail was Scanned for Virus and found Virus free > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Thank you. That is useful. But is it possible to download all the packages in one go, or would one have download each one by one? Vikas -----Original Message----- From: Uwe Ligges <ligges at statistik.uni-dortmund.de> To: Vikas Rawal <vikas at mail.jnu.ac.in> Date: Fri, 04 Feb 2005 13:55:42 +0100 Subject: Re: [R] Installing R packages in windows Vikas Rawal wrote:> I need to install a selected set of packages on a number of machines (in a computer lab). Some of these machines are not connected to internet. Is it possible to download all the packages and make a kind of repository on a CD, and then install.packages from the CD?Yes, just download the packages and install.packages with CRAN=NULL ... Instead, you might want to mount the installed packages from a network volume instead, adding a second library path for R. So you only need to install stuff once. Uwe Ligges> Vikas > > =============================================> > This Mail was Scanned for Virus and found Virus free > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
A half-way decent ftp client would allow you to get all files in a directory, so that ought to be quite easy. Andy> From: Vikas Rawal > > Thank you. That is useful. But is it possible to download all > the packages in one go, or would one have download each one by one? > > Vikas > > -----Original Message----- > From: Uwe Ligges <ligges at statistik.uni-dortmund.de> > To: Vikas Rawal <vikas at mail.jnu.ac.in> > Date: Fri, 04 Feb 2005 13:55:42 +0100 > Subject: Re: [R] Installing R packages in windows > > Vikas Rawal wrote: > > > I need to install a selected set of packages on a number of > machines (in a computer lab). Some of these machines are not > connected to internet. Is it possible to download all the > packages and make a kind of repository on a CD, and then > install.packages from the CD? > > Yes, just download the packages and install.packages with > CRAN=NULL ... > > Instead, you might want to mount the installed packages from > a network > volume instead, adding a second library path for R. So you > only need to > install stuff once. > > > Uwe Ligges > > > > > Vikas > > > > =============================================> > > > This Mail was Scanned for Virus and found Virus free > > > > ______________________________________________ > > R-help at stat.math.ethz.ch mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >
Liaw, Andy wrote:> A half-way decent ftp client would allow you to get all files in a > directory, so that ought to be quite easy.... or wget ... or in R: download.packages(CRAN.packages()[,1], destdir = ......) Uwe Ligges> Andy > > >>From: Vikas Rawal >> >>Thank you. That is useful. But is it possible to download all >>the packages in one go, or would one have download each one by one? >> >>Vikas >> >>-----Original Message----- >>From: Uwe Ligges <ligges at statistik.uni-dortmund.de> >>To: Vikas Rawal <vikas at mail.jnu.ac.in> >>Date: Fri, 04 Feb 2005 13:55:42 +0100 >>Subject: Re: [R] Installing R packages in windows >> >>Vikas Rawal wrote: >> >> >>>I need to install a selected set of packages on a number of >> >>machines (in a computer lab). Some of these machines are not >>connected to internet. Is it possible to download all the >>packages and make a kind of repository on a CD, and then >>install.packages from the CD? >> >>Yes, just download the packages and install.packages with >>CRAN=NULL ... >> >>Instead, you might want to mount the installed packages from >>a network >>volume instead, adding a second library path for R. So you >>only need to >>install stuff once. >> >> >>Uwe Ligges >> >> >> >> >>>Vikas >>> >>>=============================================>>> >>> This Mail was Scanned for Virus and found Virus free >>> >>>______________________________________________ >>>R-help at stat.math.ethz.ch mailing list >>>https://stat.ethz.ch/mailman/listinfo/r-help >>>PLEASE do read the posting guide! >> >>http://www.R-project.org/posting-guide.html >> >> >>______________________________________________ >>R-help at stat.math.ethz.ch mailing list >>https://stat.ethz.ch/mailman/listinfo/r-help >>PLEASE do read the posting guide! >>http://www.R-project.org/posting-guide.html >> >> > > > > ------------------------------------------------------------------------------ > Notice: This e-mail message, together with any attachment...{{dropped}}