[Rd] error with R-patched (2008-05-02 r45591)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Mon May 5 07:52:28 CEST 2008


Mark Kimpel wrote:
> Thanks guys. For the benefit of anyone following up on this in the future, I
> solved my problem in my offending file with:
>
> iconv -f LATIN1 -t UTF-8 methods.output.func.R >> methods.output.func.R
>
> Mark
>   
>
That line triggers a knee-jerk reflex with me (possibly unfairly since 
it apparently did the job). I have always learned that using the same 
file for input and output is asking for trouble: if something goes wrong 
on the way, you end with neither of them. I'd do

iconv -f LATIN1 -t UTF-8 methods.output.func.R > xxxx
mv xxxx methods.output.func.R



-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907



More information about the R-devel mailing list