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

From: LUZhiping <camping9_at_hotmail.com>
Date: Sat, 29 Dec 2007 21:31:43 +0000

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



Windows Live Photo gallery 数码相机的超级伴侣,轻松管理和编辑照片,还能制作全景美图! http://get.live.cn/product/photo.html

        [[alternative HTML version deleted]]



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. Received on Mon 31 Dec 2007 - 08:47:21 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 31 Dec 2007 - 09:30:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.