[R] Accents in R

Ulises Mora Alvarez umalvarez at fata.unam.mx
Mon Nov 17 18:14:58 CET 2003


Hello!

If you are using a GNOME-Terminal or if you are running R inside Emacs 
just make yourself sure that you change the UTF-8 encoding before starting 
R. 

 



On Mon, 17 Nov 2003, Salvatore Barbaro wrote:

> Cf.  expression()
> 
> On Monday 17 November 2003 17:14, Xavier Fernández i Marín wrote:
> > 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
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 
> 

-- 
Ulises M. Alvarez
LAB. DE ONDAS DE CHOQUE
FISICA APLICADA Y TECNOLOGIA AVANZADA
UNAM
umalvarez at fata.unam.mx




More information about the R-help mailing list