Re: [R-SIG-Mac] Encoding issue with read.csv

2009-10-26 Thread Arcadio Rubio García
Perhaps you meant to use fileEncoding=iso-8859-1 instead of encoding=iso-8859-1?  Because that does the same as setting options(encoding=iso-8859-1) -- see ?read.table for details. Thanks a lot. That was the mistake I was making. I was using the encoding parameter instead of the fileEncoding

[R-SIG-Mac] Encoding issue with read.csv

2009-10-23 Thread Arcadio Rubio García
Hi all, I've been given a CSV file saved on an old Windows 2000 machine. I think it's coded in Windows-1252 (roughly equivalent to ISO-8859-1 I think). When I try to open it with read.csv('foo.csv', encoding = 'iso-8859-1') I get a coding error. However, if I do: options(encoding =

[R-SIG-Mac] Small issue rendering on a Quartz device

2009-10-22 Thread Arcadio Rubio García
Hi, I'm new to R and I've spotted what I think it might be a small issue when rendering on a Quartz device. All images are initially cut on their lower side. Once you resize the Quartz window, the image is correctly displayed, even if you resize it to the original size. E.g. I do: curve(dnorm,

[R-SIG-Mac] Fonts in Quartz Devices

2008-05-12 Thread Arcadio Rubio García
Hi, I'm new to R. I'm using a Mac OS X 10.5.2 and R 2.7.0. I'm trying to change the font family for a plot in a quartz device. Simply passing the desired font by using the family argument works with other devices, but not with quartz. For instance: quartz(family=Monaco) or