[R] Accents in R

Xavier Fernández i Marín xavier.fim at eresmas.net
Mon Nov 17 17:14:17 CET 2003


Hi,

How can I include accents and signs like 'ñ' 'à' in the plots generated by R?

I try, but R automatically transforms the name 
ex:
> countries <- c("México", "España")
> countries
[1] "M\216éxico" "Espa\216ña"
>

I've seen in some Spanish texts about R how is it normal to include labels of 
the plots and other names with accents, but I can't.

I'm using R 1.8.0 in a Mandrake 9.0

Thanks,

Xavier




More information about the R-help mailing list