[R] file encoding

Jean-Pierre Muller Jean-Pierre.Mueller at dssp.unil.ch
Mon Mar 17 08:45:01 CET 2003


Hello,

Is file("out.txt", open="wt", encoding=ISOLatin1)
(resp: MacRoman, WinAnsi) broken/unimplemented ?

I am trying:
zz <- file("out.txt", open="wt", encoding=ISOLatin1)
cat(ASCII,file = zz, sep="\n")
close(zz)

on R162 for MacOs (carbon).

Thanks.
-- 
------------------------------------------------------------------------------
Jean-Pierre Muller
SSP / UNIL /  BFSH2 / CH-1015 Lausanne



More information about the R-help mailing list