[R-SIG-Mac] Trouble with tcltk

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Sep 3 12:40:17 CEST 2013


On 03/09/2013 11:21, Michael Kubovy wrote:
> Many packages require tcltk.
>
> I have installed http://cran.r-project.org/bin/macosx/tools/tcltk-8.5.5-x11.pkg and yet, when I try

That is the wrong version for R 3.0.1, so please remove it.  You may 
need to re-install R, as that ships with the correct tcltk.

> library(gamlss.demo)
> I get
> Loading required package: rpanel
> Loading required package: tcltk
> Error : .onLoad failed in loadNamespace() for 'tcltk', details:
>    call: dyn.load(file, DLLpath = DLLpath, ...)
>    error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.0/Resources/library/tcltk/libs/tcltk.so':
>    dlopen(/Library/Frameworks/R.framework/Versions/3.0/Resources/library/tcltk/libs/tcltk.so, 10): Library not loaded: /usr/local/lib/libtcl8.6.dylib
>    Referenced from: /Library/Frameworks/R.framework/Versions/3.0/Resources/library/tcltk/libs/tcltk.so
>    Reason: image not found
> Error: package ‘tcltk’ could not be loaded
>
>
>> sessionInfo()
> R version 3.0.1 (2013-05-16)
> Platform: x86_64-apple-darwin10.8.0 (64-bit)
>
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] datasets  utils     stats     graphics  grDevices methods   base
>
> other attached packages:
> [1] sos_1.3-7       brew_1.0-6      ggplot2_0.9.3.1 car_2.0-18      nnet_7.3-7      MASS_7.3-28
>
> loaded via a namespace (and not attached):
>   [1] colorspace_1.2-2   dichromat_2.0-0    digest_0.6.3       grid_3.0.1         gtable_0.1.2       labeling_0.2
>   [7] munsell_0.4.2      plyr_1.8           proto_0.3-10       RColorBrewer_1.0-5 reshape2_1.2.2     scales_0.2.3
> [13] stringr_0.6.2
>
> ______________________________________________
> Professor Michael Kubovy
> University of Virginia
> Department of Psychology
> for mail add:						for FedEx or UPS add:
> P.O.Box 400400					Gilmer Hall, Room 102
> Charlottesville, VA 22904-4400	485 McCormick Road
> USA							Charlottesville, VA 22903
> 		room	phone
> Office:    B011	+1-434-982-4729
> Lab:        B019	+1-434-982-4751
> WWW:    http://www.people.virginia.edu/~mk9y/
>
>
> 	[[alternative HTML version deleted]]
>
>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>


-- 
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-SIG-Mac mailing list