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. HTH, -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 > [email protected] > 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 NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center 1352 Lighthouse Avenue Pacific Grove, CA 93950-2097 e-mail: [EMAIL PROTECTED] (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." _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
