Skip to content
Prev 4499 / 15075 Next

X11 problem after migration to Leopard

On Mar 19, 2008, at 12:35 AM, Martin Eklund wrote:

            
Hmm, I would fire up R on the command line and do something like

Sys.getenv("DISPLAY")
Sys.getenv("PATH")

that way you can figure out what environment variables R is using. How  
they are set is hard to know, but as I said, candidates are (all in  
the HOME directory or perhaps in the directory where you run R)
.profile
.MacOS/.environment.plist
.bashrc
.bash_login
.Rprofile
.Rlib

Having said that, my _guess_ based on the warning messages is that you  
probably have a locale problem (which may or may not be connected to  
whether X11 finds the fonts). I am using the default locale (= I have  
a clean install, uses english as my system language and have not  
touched anything) and I get the following from sessionInfo():
  locale:
  en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
whereas you seem to have something different:
  locale:
  C/UTF-8/C/C/C/C
I know little about locales, except that they sometime cause  
problems... :)

Another thing you could try to help debug is to run X11 from the Aqua  
GUI.

Kasper