It works fine, thanks. I was just wondering is there is anyway to include automatically the command you suggest as a default when I open R. Thanks, Luca
Il giorno 03/gen/2011, alle ore 08.36, Phil Spector ha scritto: > Luca - > What happens why you type > > Sys.setlocale('LC_ALL','C') > > before issuing the source command? > > - Phil Spector > Statistical Computing Facility > Department of Statistics > UC Berkeley > spec...@stat.berkeley.edu > > > On Mon, 3 Jan 2011, Luca Meyer wrote: > >> Being italians when writing comments/instructions we use accented letters - >> like à, ò, è, etc.... when running R scripts using such characters I get and >> error saying: >> >> invalid multibyte character in parser >> >> I have been looking at the help and searched the r-help archives but I >> haven't find anything that I could intelligibly apply to my case. >> >> Can anyone suggest a fix for this error? >> >> Thanks, >> Luca >> >> Mr. Luca Meyer >> www.lucameyer.com >> IBM SPSS Statistics release 19.0.0 >> R version 2.12.1 (2010-12-16) >> Mac OS X 10.6.5 (10H574) - kernel Darwin 10.5.0 >> >> ______________________________________________ >> R-help@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. >> ______________________________________________ R-help@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.