Quantcast

Is R BOOT package available for 2.15.1 version for Mac OS?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Is R BOOT package available for 2.15.1 version for Mac OS?

SergeyHC
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Is R BOOT package available for 2.15.1 version for Mac OS?

Marc Schwartz-3

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!
> Sergey


I 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

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Is R BOOT package available for 2.15.1 version for Mac OS?

David Winsemius
In reply to this post by SergeyHC

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.html

This should also have gone to R-SIG-Mac mailing list.


> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> [hidden email] 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

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Is R BOOT package available for 2.15.1 version for Mac OS?

SergeyHC
David, thanks for your helpful response.

Now i figured out that I do have boot command and do not need to install any additional packages. With regards t R GUI, I guess I would like to use it, but I could not figure out how to install it. For now I downloaded R-2.15.1.pkg file, which I could instal as a regular Mac app. There is also Mac-GUI-1.51.tar.gz file, but when I open it it's just a folder with bunch of files, and I could not find there anything which would look like dmg file. If you could share any tips here, I would be very grateful. Sorry for very basic questions, but as you see, I am quite new to R and also do not have eng background, so it's kind of foreign environment for me. But I really want to get to grips with R, since it looks as very promising application.

Thanks,
Sergey
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Is R BOOT package available for 2.15.1 version for Mac OS?

David Winsemius

On Jul 6, 2012, at 6:31 PM, SergeyHC wrote:

> David, thanks for your helpful response.
>
> Now i figured out that I do have boot command and do not need to  
> install any
> additional packages. With regards t R GUI, I guess I would like to  
> use it,
> but I could not figure out how to install it. For now I downloaded
> R-2.15.1.pkg file, which I could instal as a regular Mac app.

If you are using it "like a regular R app" then you _are_ using the R  
Mac GUI. Only if you were opening Terminal.app and then typing R at  
the command line would you be using the unvarnished version of R. With  
the GUI running you have menu items including "Packages&Data" and the  
Package Installer in that menu is very handy.


> There is also
> Mac-GUI-1.51.tar.gz file, but when I open it it's just a folder with  
> bunch
> of files, and I could not find there anything which would look like  
> dmg
> file. If you could share any tips here, I would be very grateful.  
> Sorry for
> very basic questions, but as you see, I am quite new to R and also  
> do not
> have eng background, so it's kind of foreign environment for me. But I
> really want to get to grips with R, since it looks as very promising
> application.
>
>


David Winsemius, MD
West Hartford, CT

______________________________________________
[hidden email] 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.
Loading...