[R] error when installing Rcmdr / tcltk on a Apple laptop

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Nov 30 22:35:29 CET 2009


On Mon, 30 Nov 2009, Karin Groothuis wrote:

> Hello,
>
> I have installed R on my Apple Laptop. Next I wanted to install the package 
> Rcmdr which requires the package tcltk. But then I get errors like:
>
> The downloaded packages are in
> 	/var/folders/0p/0pD8fDrwHouNDsQ+k8dGmU+++TI/-Tmp-//RtmpSp4q7p/downloaded_packages
> Loading required package: tcltk
> Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath = DLLpath, ...) 
> :
> unable to load shared library 
> '/Library/Frameworks/R.framework/Resources/library/tcltk/libs/i386/tcltk.so':
> dlopen(/Library/Frameworks/R.framework/Resources/library/tcltk/libs/i386/tcltk.so, 
> 10): Library not loaded: /usr/local/lib/libtcl8.5.dylib
> Referenced from: 
> /Library/Frameworks/R.framework/Resources/library/tcltk/libs/i386/tcltk.so
> Reason: image not found
> etcetera
>
> Can anyone give me a clue?

It would be better to ask on R-sig-mac with full details as to bow you 
installed R.  But I expect you overlooked

http://cran.r-project.org/bin/macosx/tools/

and the tcltk .dmg.  You do need it if you just installed the 
'leopard' .pkg for 2.10.0 (earlier .dmg for R came with it).


> Thanks,
>
> Karin Oudshoorn

-- 
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-help mailing list