[R-SIG-Mac] ERROR in R+Lion+X11: could not find any X11 fonts
molinari at tng.iac.es
Wed Jan 25 14:48:54 CET 2012
I "followed" the admin manual, and set the lines in the .bashrc
# Setting for the new UTF-8 terminal support in Lion
this solves the locale (and R font problem):
R version 2.14.1 (2011-12-22)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
Thank you again.
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:
>> R version 2.14.1 (2011-12-22)
>> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>>  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
>  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:
>>  stats graphics grDevices utils datasets methods base
>> other attached packages:
>>  kohonen_2.0.9 MASS_7.3-16 class_7.3-3
>> and, I am Running R in command line.
>> thank you.
>> On 25 Jan , 2012, at 12:32, Prof Brian Ripley wrote:
>>> On 25/01/2012 12:22, Emilio Molinari wrote:
>>>> 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:
>>>> 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 at r-project.org
>>> Brian D. Ripley, ripley at 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
>> 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
>> 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, ripley at 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
More information about the R-SIG-Mac