[R-SIG-Mac] tcltk
David Winsemius
dwinsemius at comcast.net
Mon Jul 13 22:11:17 CEST 2009
On Jul 13, 2009, at 12:16 PM, Mikhail Beketov wrote:
> Dear Prof. Ripley, dear Mr. Winsemius, dear all,
>
> I just installed Xcode tools from my installation CD. Also
> additionally the package X11SDK. But ... it still doesn't work.
>
> I have (I mean I can see it in Finder):
>
> /Library/Frameworks/R.framework/Versions/2.9/Resources/library/tcltk/
> libs/i386/tcltk.so
>
The error message is suggesting there is some problem with loading
that file. Have your rebuilt permissions recently? Disk Utility.app
is the the approapriate starting poit for permissions fixes.
>
> /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libX11.6.2.dylib"
>
> and also alias "libX11.6.dylib" in the same place.
So it is in a location where R is not expecting to find it. I will bow
out now, since I am not sure that reinstalling X11 in the /usr/ tree
is the right strategy (or even needed ... see below). There may be a
path argument that could be set, but I would need to read through the
available manual material before I maybe got a clue.( And then it
would still be a guess.)
>
> I'm afraid I don't know what is "terminal session".
There is an application named Terminal (or Terminal.app) which is by
default in your Applications/Utilities/ folder. It lets you execute
Unix commands. I am not able to see the /usr/ folder tree with my
Finder setup, so I can only look at it with Terminal. Maybe someone
has a hint about how to let Finder peek behind the Unix curtain.
>
> Yours,
> Mikhail
>
> ----- Original Message -----
> From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
> Date: Monday, July 13, 2009 11:32
> Subject: Re: [R-SIG-Mac] tcltk
> To: Mikhail Beketov <mikhail.beketov at ufz.de>
> Cc: r-sig-mac at stat.math.ethz.ch
>
>> See the FAQ sections 8 and 2.1.4, e.g.
>>
>> X11 window system is necessary to use the X11 device in R and
>> other
>> devices that rely on X11.
>> ...
>> Mac OS X 10.3 (Panther) and 10.4 (Tiger) include X11 on the
>> installation CD/DVD, however, it is not selected by default. If
>> it is
>> not installed, you can re-install it using the original
>> installation
>> CD/DVD.
>> ...
>>
>> The error message indicates that your machine either does not
>> have X11
>> installed or it is not installed properly.
>>
>> On Sun, 12 Jul 2009, Mikhail Beketov wrote:
>>
>>> Hi,
>>>
>>> I cannot load the tcltk. I saw that some people had this
>> problem, but what is the solution?
>>>
>>> I just updated my R to the 2.9.1 version. My MAC OS X is
>> 10.4.11. I also additionally installed tcl/tk 8.5.5 (X11
>> version). But it doesn't work. The error message is:
>>>
>>> Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath =
>> DLLpath, ...) :
>>> ? unable to load shared library
>> '/Library/Frameworks/R.framework/Versions/2.9/Resources/library/
>> tcltk/libs/i386/tcltk.so':> ? dlopen(/Library/Frameworks/
>> R.framework/Versions/2.9/Resources/library/tcltk/libs/i386/
>> tcltk.so, 10): Library not loaded: /usr/X11R6/lib/libX11.6.dylib
>>> ? Referenced from:
>> /Library/Frameworks/R.framework/Versions/2.9/Resources/library/
>> tcltk/libs/i386/tcltk.so> ? Reason: image not found
>>> Error : .onLoad failed in 'loadNamespace' for 'tcltk'
>>> Error: package/namespace load failed for 'tcltk'
>>>
>>> Many many thanks in advance!
>>>
>>> Mikhail
>>>
>>>
>>>
>>>
>>> [[alternative HTML version deleted]]
>>>
>>>
>>
>> --
>> 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
>
> =================================================
> Mikhail Beketov Ph.D.
>
> Helmholtz Centre for Environmental Research - UFZ
> Department of System Ecotoxicology
> Permoserstrasse 15, 04318 Leipzig, Germany
>
> phone: 0049-341-235-1498
> fax: 0049-341-235-2401
> email: mikhail.beketov at ufz.de
> http://www.ufz.de/index.php?en=3718
>
> =================================================
> Registered Office: Leipzig
> Registration Office: Amtsgericht Leipzig
> Trade Register Nr. B 4703
> Chairman of the Supervisory Board: MinDirig Hartmut F. Grübel
> Scientific Director: Prof. Dr. Georg Teutsch
> Administrative Director: Dr. Andreas Schmidt
>
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
More information about the R-SIG-Mac
mailing list