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, [email protected]
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
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac