From p.dalgaard at biostat.ku.dk  Mon May  5 07:52:28 2008
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Mon, 05 May 2008 07:52:28 +0200
Subject: [Rd] error with R-patched (2008-05-02 r45591)
In-Reply-To: <6b93d1830805042239x58da092ctbf8cae9c25e4a92@mail.gmail.com>
References: <6b93d1830805031154s5da3602eq1dce01f35af3f76b@mail.gmail.com>	
	<alpine.LFD.1.10.0805032117530.9751@gannet.stats.ox.ac.uk>	
	<6b93d1830805032026n71b40f96y6bd16bf6e1562427@mail.gmail.com>	
	<alpine.LFD.1.10.0805040533220.15533@gannet.stats.ox.ac.uk>	
	<481D700C.7090301@biostat.ku.dk>
	<6b93d1830805042239x58da092ctbf8cae9c25e4a92@mail.gmail.com>
Message-ID: <481EA09C.6040308@biostat.ku.dk>

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



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