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]]