[R] issue with encoding in R-2.8.1 invalid multibyte character
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Wed Dec 31 11:22:53 CET 2008
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
More information about the R-help
mailing list