Benilton Carvalho wrote: > > iconv on your linux box should do the work. > >> I have a "windows" source file.r, with the default charset of windows. >> I can't use it in Linux as source("file.r"), because Linux's >> default is >> Unicode. How can I read it? > Soon after I posted, I found out how to do it.
source("file.r", encoding="latin1") Anyway, thanks to the hint about iconv. I tried to find something like that using "apropos latin", but iconv was not there. Alberto Monteiro ______________________________________________ R-help@stat.math.ethz.ch 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.