[R] Accents in R

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


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

I try, but R automatically transforms the name 
> 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



More information about the R-help mailing list