SergeyHC
2012-Jul-06 15:46 UTC
[R] Is R BOOT package available for 2.15.1 version for Mac OS?
Hi everyone! I am trying to install boot package in order to do bootstrap analysis with R. I am trying to use the following command: install.packages("/var/folders/++/++53BE++6+0++4RjPqRgNE+-lHI/-Tmp-//Rtmpvmc3aE/downloaded_packages") But get the following message: package ?/var/folders/++/++53BE++6+0++4RjPqRgNE+-lHI/-Tmp-//Rtmpvmc3aE/downloaded_packages? is not available (for R version 2.15.1) Is it really not available, or I am not doing something right. Thanks! Sergey -- View this message in context: http://r.789695.n4.nabble.com/Is-R-BOOT-package-available-for-2-15-1-version-for-Mac-OS-tp4635623.html Sent from the R help mailing list archive at Nabble.com.
Marc Schwartz
2012-Jul-06 17:45 UTC
[R] Is R BOOT package available for 2.15.1 version for Mac OS?
On Jul 6, 2012, at 10:46 AM, SergeyHC wrote:> Hi everyone! > > I am trying to install boot package in order to do bootstrap analysis with > R. I am trying to use the following command: > > > install.packages("/var/folders/++/++53BE++6+0++4RjPqRgNE+-lHI/-Tmp-//Rtmpvmc3aE/downloaded_packages") > > But get the following message: > > package > ?/var/folders/++/++53BE++6+0++4RjPqRgNE+-lHI/-Tmp-//Rtmpvmc3aE/downloaded_packages? > is not available (for R version 2.15.1) > > Is it really not available, or I am not doing something right. > Thanks! > SergeyI suspect some confusion on your part Sergey. 'boot' is part of the standard R installation as a "recommended" package. All you need to do is either: library(boot) or require(boot) Regards, Marc Schwartz
David Winsemius
2012-Jul-06 18:03 UTC
[R] Is R BOOT package available for 2.15.1 version for Mac OS?
On Jul 6, 2012, at 11:46 AM, SergeyHC wrote:> Hi everyone! > > I am trying to install boot package in order to do bootstrap > analysis with > R. I am trying to use the following command: > > > install.packages("/var/folders/++/++53BE++6+0++4RjPqRgNE+-lHI/-Tmp-// > Rtmpvmc3aE/downloaded_packages") > > But get the following message: > > package > ?/var/folders/++/++53BE++6+0++4RjPqRgNE+-lHI/-Tmp-//Rtmpvmc3aE/ > downloaded_packages? > is not available (for R version 2.15.1) >Function arguments in R have names. If you choose not to use those names, then the positions of the argument list are used instead and you have given install.packages a 'pkgs' argument that it cannot do anything with. The names should have been "boot". If you are installing from local files you need to set contriburl to NULL. BUT,... I'm guessing you already _did_ the install and simply need to use: library(boot) That's because when I did an install just now I get: > install.packages("boot") Installing package(s) into ?/Users/davidwinsemius/Library/R/2.14/ library? (as ?lib? is unspecified) trying URL 'http://cran.cnr.Berkeley.edu/bin/macosx/leopard/contrib/2.14/boot_1.3-4.tgz' Content type 'application/x-gzip' length 464130 bytes (453 Kb) opened URL =================================================downloaded 453 Kb The downloaded packages are in /var/folders/xS/xSUsVXTIHEiP7OLJg2OXmU+++TI/-Tmp-//RtmphYSlox/ downloaded_packages Notice that message at the end? It's pretty much useless. But it does indicate that the package was downloaded and installed> Is it really not available, or I am not doing something right.Why aren't you using the GUI Package Installer? It's very nice and lets you use either binary or source packages ... but I'm guessing from your lack of understanding in this instance that your should be using the binary packages.> -- > View this message in context: http://r.789695.n4.nabble.com/Is-R-BOOT-package-available-for-2-15-1-version-for-Mac-OS-tp4635623.htmlThis should also have gone to R-SIG-Mac mailing list.> Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at 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.David Winsemius, MD West Hartford, CT