[R] Windows source in Linux
    Alberto Vieira Ferreira Monteiro 
    albmont at centroin.com.br
       
    Sat Jun  2 03:36:27 CEST 2007
    
    
  
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
    
    
More information about the R-help
mailing list