Dear Simon, David and others, Thanks. It is now working fine after running it in the shell.
Regards, Prashanth On 11/02/10 1:36 AM, "Simon Urbanek" <simon.urba...@r-project.org> wrote: > > On Feb 10, 2010, at 7:15 AM, Prashanth NS wrote: > >> Dear all, >> >> I am a new mac user and an inexperienced R user, now using the latter on the >> former! >> >> On running the R.app on my Macbook Pro with OS X Snowleopard, warnings about >> non UTF-8 locale showed up. >> >>> You're using a non-UTF8 locale, therefore only ASCII characters will work. >>> Please read R for Mac OS X FAQ (see Help) section 9 and adjust your system >> preferences accordingly. >> >> As per the R for Mac OS X FAQ as well as this ( >> https://stat.ethz.ch/pipermail/r-sig-mac/2008-October/005395.html) post, I >> ran the following in the app. >> >>> defaults write org.R-project.R force.LANG en_US.UTF-8 >>> Error: unexpected symbol in "defaults write" >> >> Could somebody help with this? >> > > You're supposed to paste that in the shell (Applications -> Utilities - > Terminal) not in R. > > In R you have to change that to > system("defaults write org.R-project.R force.LANG en_US.UTF-8") > > Cheers, > Simon > _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac