[R-SIG-Mac] how to run my R code in Mac OS X 10.5 Leopard?

Roy Mendelssohn Roy.Mendelssohn at noaa.gov
Sat Dec 29 23:09:49 CET 2007

My guess is that under windows you were using a version with a GUI,  
but if you using the terminal on the Mac, you are not.  Depending on  
how you did the install, there should be an R app in your application  
folder that will do what you want.  Otherwise, go to:

http://cran.r-project.org/bin/macosx/  and install R-2.6.1.dmg.


-Roy m.

On Dec 29, 2007, at 1:33 PM, LUZhiping wrote:

> Hi,
> I have a question in running R 2.4.1 in the Mac OS X 10.5 Leopard.
> I write all my R code without using any packages in R. When I run  
> it in Windows system, it runs smoothly and correctly.
> Then I try to run the same code in Mac OS X 10.5 Leopard. I just  
> copy the script file on the desktop of the Mac OS X. I find  I can  
> open the file directly as a text file.
> To run R in Mac OS X, I type "R" in the terminal window of Unix,  
> but I can not open the script file as I've done in windows. So I  
> copy all the content of my code, and I paste it in the Unix window,  
> but there are always some errors, for example, error for the  
> variable in loops.
> I can not understand why. Though I read some related help file, it  
> seems to me still not quite clear.
> Thank you very much to give me some advice!
> Wish you a happy new year!
> Sincrely yours
> LU Zhiping
> _________________________________________________________________
> ÌìÁ¹ÁË£¬ÌíÒÂÁË£¬ÐĶ¯ÁË£¬¡°Æß¼þ¡±ÁË
> http://get.live.cn
> 	[[alternative HTML version deleted]]
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

"The contents of this message do not reflect any position of the U.S.  
Government or NOAA."
Roy Mendelssohn
Supervisory Operations Research Analyst
Environmental Research Division	
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: Roy.Mendelssohn at noaa.gov (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."

More information about the R-SIG-Mac mailing list