Hello Brian, I "followed" the admin manual, and set the lines in the .bashrc # Setting for the new UTF-8 terminal support in Lion export LC_CTYPE=en_US.UTF-8 export LC_ALL=en_US.UTF-8
this solves the locale (and R font problem): > sessionInfo() R version 2.14.1 (2011-12-22) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 Thank you again. Emilio On 25 Jan , 2012, at 13:06, Prof Brian Ripley wrote: > On 25/01/2012 12:47, Emilio Molinari wrote: >> Sorry for the hurry I put before.. >> Here it is: >> >>> sessionInfo() >> R version 2.14.1 (2011-12-22) >> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) >> >> locale: >> [1] C/UTF-8/C/C/C/C > > I think that is wrong: there is no locale called 'UTF-8' in standard naming > schemes. I have > [1] C/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8 > > See the 'R Installation and Administration Manual' (and please keep R-sig-mac > on the reply list). > > >> attached base packages: >> [1] stats graphics grDevices utils datasets methods base >> >> other attached packages: >> [1] kohonen_2.0.9 MASS_7.3-16 class_7.3-3 >>> >> >> and, I am Running R in command line. >> thank you. >> emilio >> >> >> On 25 Jan , 2012, at 12:32, Prof Brian Ripley wrote: >> >>> On 25/01/2012 12:22, Emilio Molinari wrote: >>>> Hi, >>>> >>>> after googling around I surrender and post to this list. >>> >>> Can you please follow the posting guide and tell us your sessionInfo() (and >>> are you using R.app or R, the command-line version?). >>> >>> That your locale is not recognized by X11 may be significant, and >>> sessionInfo() includes the locale information. >>> >>>> With a Mac OS 10.7.2, R installation 2.14.1, X server starts but doesn't >>>> find the fonts. >>>> The solution is not to check xorgs.conf as there is no such config file >>>> here. >>>> >>>> The behavior is easily spotted: >>>>> plot(1,1) >>>> Error in axis(side = side, at = at, labels = labels, ...) : >>>> could not find any X11 fonts >>>> Check that the Font Path is correct. >>>> In addition: Warning messages: >>>> 1: In function (display = "", width, height, pointsize, gamma, bg, : >>>> locale not supported by Xlib: some X ops will operate in C locale >>>> 2: In function (display = "", width, height, pointsize, gamma, bg, : >>>> X cannot set locale modifiers >>>>> >>>> R Graphics: Device 1 (ACTIVE) starts, plot one circle but stops on that >>>> error. >>>> >>>> Any help for this? >>>> Thank you >>>> >>>> _______________________________________________ >>>> R-SIG-Mac mailing list >>>> R-SIG-Mac@r-project.org >>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >>> >>> >>> -- >>> Brian D. Ripley, rip...@stats.ox.ac.uk >>> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ >>> University of Oxford, Tel: +44 1865 272861 (self) >>> 1 South Parks Road, +44 1865 272866 (PA) >>> Oxford OX1 3TG, UK Fax: +44 1865 272595 >> >> Emilio Molinari >> >> Director >> INAF-TNG >> Fundación Galileo Galilei - INAF >> Rambla José Ana Fernández Pérez, 7 >> 38712 Breña Baja, TF - Spain >> Tel +34 922 433671 Fax +34 922 420508 >> Cel: +34 618 308735 (ESP) +39 347 8731842 (ITA) >> C.I.F.: G-38783312 >> http://www.tng.iac.es >> PGP key http://golem.merate.mi.astro.it/pgp/EM.asc >> >> -------------------------------------------------- >> Everything should be made as simple as possible, but no simpler. >> ---------------- >> >> >> >> >> > > > -- > Brian D. Ripley, rip...@stats.ox.ac.uk > Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ > University of Oxford, Tel: +44 1865 272861 (self) > 1 South Parks Road, +44 1865 272866 (PA) > Oxford OX1 3TG, UK Fax: +44 1865 272595 _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac