Skip to content
Back to formatted view

Raw Message

Message-ID: <495B47FD.6050604@biostat.ku.dk>
Date: 2008-12-31T10:22:53Z
From: Peter Dalgaard
Subject: issue with encoding in R-2.8.1 invalid multibyte character
In-Reply-To: <800F7C610D3CA74BB1250F0EE0F07BE802418C74@sw-gnetcw-mbx01.tcads.thomascook.com>

Wijffels, Jan wrote:
...
>> So this means for me I need to change the scripts I develop in Latin1
> on
>> Windows to UTF-8 before I upload them to our server.
> 
> Or, as I suggested below, run the R session on the server in Latin1.
> 
> % LC_ALL=nl_BE  R
> 
> (guessing, or use en_US) should do it.
> 


> Even better :), thanks

Otherwise, depending on your workflow, you might find that "iconv" is 
your friend. (Notice that the above will give you output in Latin1 too, 
which may be exactly what you need, but then again maybe not.)



-- 
    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