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

2009-12-25 Thread Sharpie



saleem1000 wrote:
> 
> Hello,
> 
> I am using Mac OS on R. When I start R thru the application menu I have
> the option of running both the 32 bit version as well as the 64 bit
> version.
> 
> When I type in R in terminal I believe it starts up the 64 bit version.
> How can I start the 32 bit version instead??
> 
> Saleem
> 
> 

Set the value of the R_ARCH environment variable to either:

  /i386

or

  /x86_64

to specify which version gets run when you start R in the terminal.  A good
place to set this is by adding the following line

  export R_ARCH=/i386

to

  ~/.profile


Hope this helps!

-Charlie
-- 
View this message in context: 
http://n4.nabble.com/Running-32-bit-R-in-terminal-on-Mac-OS-tp978562p978928.html
Sent from the R help mailing list archive at Nabble.com.

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


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

2009-12-24 Thread David Winsemius


On Dec 24, 2009, at 1:33 PM, David Winsemius wrote:


Try this in an R session:

if(.Machine$sizeof.pointer == 4){print("32 bit")} else {print("64  
bit")}

Dropped an "e" somehow...

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

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


David Winsemius, MD
Heritage Laboratories
West Hartford, CT

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


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

2009-12-24 Thread David Winsemius

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

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


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

2009-12-24 Thread saleem1000

Hello,

I am using Mac OS on R. When I start R thru the application menu I have the
option of running both the 32 bit version as well as the 64 bit version.

When I type in R in terminal I believe it starts up the 64 bit version. How
can I start the 32 bit version instead??

Saleem

-- 
View this message in context: 
http://n4.nabble.com/Running-32-bit-R-in-terminal-on-Mac-OS-tp978562p978562.html
Sent from the R help mailing list archive at Nabble.com.

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