[R] Running 32 bit R in terminal on Mac OS

David Winsemius dwinsemius at comcast.net
Thu Dec 24 19:33:19 CET 2009


Try this in an R session:

  if(.Machine$sizeof.pointer == 4){print("32 bit")} else {print("64  
bit")}
# for me it's .... [1] "64 bit"

On Dec 24, 2009, at 1:04 PM, saleem1000 wrote:

> Hello,
>
> I am using Mac OS on R. When I start R thru the application menu

What's the "application menu"? How did you install R?

> I have the
> option of running both the 32 bit version as well as the 64 bit  
> version.

Assuming you are looking at a Finder window for the /Applications/  
directory ... What do you see?

>
> When I type in R in terminal I believe it starts up the 64 bit  
> version.

What did you type? Just "R"? Pretty sure that gets you a 32 bit version.

> How
> can I start the 32 bit version instead??

I'm betting you are already using a 32 bit version. All this Q&A would  
be unnecessary if you included the results of sessionInfo()

>
> Saleem
>


David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list