Xavier Fernández i Marín <[EMAIL PROTECTED]> writes: > 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 You'll need to get rid of UTF-8 encoding, since R doesn't know how to deal with it. I'm not sure of the details on Mandrake, but I suspect you need to diddle /etc/sysconfig/i18n or set some environment variables (among the ones listed by "locale"). -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help