[R-SIG-Mac] X11 problem after migration to Leopard
Kasper Daniel Hansen
khansen at stat.Berkeley.EDU
Wed Mar 19 01:01:07 CET 2008
I recently updated to Leopard and have not gotten the error Martin is
alluding to when using x11 from the command line. However I have been
careful to remove any user-specific setting of the DISPLAY variable as
this is no longer required nor recommended under leopard.
My guess is that you may have stuff from an older configuration file
around. Did you do "archive and install" and how exactly are you
running R - under ESS or straight up from the Terminal?
Kasper
On Mar 18, 2008, at 12:14 PM, Simon Urbanek wrote:
> Martin,
>
> as per posting guide you have forgotten all of the very important
> piece of information - R version and the locale. I cannot reproduce
> the problems you describe, so please share with us at least the output
> of sessionInfo().
>
> In general, if you want to use X11 on Leopard seriously, you may want
> to upgrade it (see http://trac.macosforge.org/projects/xquartz ),
> because the version shipped with Leopard is known to be quite broken.
>
> Cheers,
> Simon
>
>
> On Mar 18, 2008, at 3:11 PM, Martin Eklund wrote:
>
>> Hi,
>>
>> After migrating to Leopard I have problems with X11 when sunning R
>> from the command line (which I prefer). I acknowledge that this most
>> likely is not an R issue, but I thought that somebody else on this
>> list might have had the same problem and has a nice solution to
>> offer...
>>
>> When trying to plot something in R from the command line (it works
>> however from the R GUI) I get the following error message:
>>
>> ===========================================
>> Error in X11() :
>> could not find any X11 fonts
>> Check that the Font Path is correct.
>> In addition: Warning messages:
>> 1: In X11() :
>> locale not supported by Xlib: some X ops will operate in C locale
>> 2: In X11() : X cannot set locale modifiers
>> ===========================================
>>
>> So, it seems like R cannot find the fonts. Issuing xset -q in the
>> terminal generates the following output:
>>
>> ===========================================
>> Keyboard Control:
>> auto repeat: on key click percent: 0 LED mask: 00000000
>> auto repeat delay: 660 repeat rate: 25
>> auto repeating keys: 00ffffffffffff7f
>> 00ffffffffffffff
>> ffffffffffffffff
>> ffffffffffffffff
>> bell percent: 50 bell pitch: 400 bell duration: 100
>> Pointer Control:
>> acceleration: 2/1 threshold: 4
>> Screen Saver:
>> prefer blanking: yes allow exposures: yes
>> timeout: 600 cycle: 600
>> Colors:
>> default colormap: 0x21 BlackPixel: 0 WhitePixel: 16777215
>> Font Path:
>> /usr/X11/lib/X11/fonts/misc/,/usr/X11/lib/X11/fonts/TTF/,/usr/X11/
>> lib/X11/fonts/OTF,/usr/X11/lib/X11/fonts/Type1/,/usr/X11/lib/X11/
>> fonts/
>> 100dpi/,/usr/X11/lib/X11/fonts/75dpi/
>> Bug Mode: compatibility mode is disabled
>> PMS (Energy Star):
>> Display is not capable of DPMS
>> Font cache:
>> Server does not have the FontCache Extension
>> ===========================================
>>
>> To me the font path in this output seems correct.
>>
>> I have disabled all DISPLAY settings that I previously had in
>> my .bash_profile and my PATH variable is set according to: export
>> PATH=
>> $PATH:/usr/local/bin:/Applications:/usr/X11/bin:/usr/X11/lib:.
>>
>> Any suggestions about how to fix this problem is greatly appreciated!
>>
>> Thank you very much!
>>
>> Best regards,
>>
>> Martin.
>>
>> ========================================
>> Martin Eklund
>> PhD Student
>> Department of Pharmaceutical Biosciences
>> Uppsala University, Sweden
>> Ph: +46-18-4714281
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list