[R-SIG-Mac] How to find/get tcltk to run R Commander

Simon Urbanek simon.urbanek at r-project.org
Fri Jan 15 21:38:24 CET 2010


Go to CRAN (you can use any mirror):

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

Download tcltk-8.5.5-x11.dmg, install it.

Cheers,
Simon


On Jan 15, 2010, at 15:10 , John McCormick wrote:

> 1. I'm trying to use R commander.
> 2. I have: Mac OS X 10.5.6 (9G66), Kernel Version: Darwin 9.6.0.
> 3. I have X11: Xquartz 2.1.5 - (xorg-server 1.3.0-apple22) (2.1.5).
> 4. The R command install.packages("Rcmdr", dependencies=TRUE)  was  
> successful.
> 5. I use the instructions shown at http://dataninja.wordpress.com/2006/01/20/r-commander/
> 6. R and R Commander work fine on my Boot Camp Win XP.
> 7. R command "library(Rcmdr)" yields the result shown below.
> 8. QUESTION: how do I get file tcltk on my machine so I can run R  
> Commander.
> 9. I understand it is supposed to be included with Mac OS X.
> 10. A file search reveals only tcltk.rb in the Ruby framework of my  
> library which I suspect is there because I installed XTools in hopes  
> of getting tcltk.
> 11. I have attempted to load the tcltk package from the R package  
> manager. It is disallowed.
> 12. Thanks for your patience for what must be a tiring question.
>
> > library(Rcmdr)
> 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
> Error : .onLoad failed in 'loadNamespace' for 'tcltk'
> Error: package 'tcltk' could not be loaded
>
> -----------------
> John McCormick
> Anchorage, Alaska
>
> _______________________________________________
> 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