Hi again R users. I was reviewing the manual of R about how to install packages using the GUI and it's corresponding menu packages. My question is how to download a specific set of packages in order to install them in a computer that doesn't have internet access. Is there a web page where I can search those packages? Basically I'm trying to copy in a flash drive the packages MASS, BOOT and CAR. Thanks for your help. Rodrigo Brice?o
Dear Rodrigo, The packages are available in http://cran.r-project.org/web/packages/ What you can do is download them to your flash drive in .zip format. Once you do that, you can install them from R via "Packages"->"Install package(s) from local zip files" and browsing them in your flash drive. To use them type> library(MASS) > library(boot) > library(car)in the R console. HTH, Jorge On Mon, May 5, 2008 at 5:12 PM, Rodrigo Briceño <rjavierbriceno@gmail.com> wrote:> Hi again R users. I was reviewing the manual of R about how to install > packages using the GUI and it's corresponding menu packages. My > question is how to download a specific set of packages in order to > install them in a computer that doesn't have internet access. Is there > a web page where I can search those packages? Basically I'm trying to > copy in a flash drive the packages MASS, BOOT and CAR. > > Thanks for your help. > > Rodrigo Briceño > > ______________________________________________ > 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. >[[alternative HTML version deleted]]
Dear Rodrigo, I'm going to assume from your description that you're using a Windows OS. In that case, you can download Windows binary packages for the current version of R from the packages' pages on CRAN (e.g., http://cran.r-project.org/web/packages/car/index.html for the car package -- note, BTW, lower-case car not CAR) or from http://cran.r-project.org/bin/windows/contrib/2.7/ (or from the corresponding locations on a CRAN mirror). Once downloaded, you can install from the "Packages -> Install package(s) from local zip files" menu. The mass and boot packages are part of the standard R distribution and don't have to be downloaded or installed separately. I hope this helps, John ------------------------------ John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]On> Behalf Of Rodrigo Brice?o > Sent: May-05-08 5:13 PM > To: r-help at r-project.org > Subject: [R] downloading packages at local disk > > Hi again R users. I was reviewing the manual of R about how to install > packages using the GUI and it's corresponding menu packages. My > question is how to download a specific set of packages in order to > install them in a computer that doesn't have internet access. Is there > a web page where I can search those packages? Basically I'm trying to > copy in a flash drive the packages MASS, BOOT and CAR. > > Thanks for your help. > > Rodrigo Brice?o > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.
Try the download.packages function also: download.packages(c("car", "boot", "MASS"), destdir = "C://") On Mon, May 5, 2008 at 6:12 PM, Rodrigo Briceño <rjavierbriceno@gmail.com> wrote:> Hi again R users. I was reviewing the manual of R about how to install > packages using the GUI and it's corresponding menu packages. My > question is how to download a specific set of packages in order to > install them in a computer that doesn't have internet access. Is there > a web page where I can search those packages? Basically I'm trying to > copy in a flash drive the packages MASS, BOOT and CAR. > > Thanks for your help. > > Rodrigo Briceño > > ______________________________________________ > 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. >-- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[alternative HTML version deleted]]