[R-SIG-Mac] Trouble with tcltk
Berend Hasselman
bhh at xs4all.nl
Tue Sep 3 12:40:19 CEST 2013
On 03-09-2013, at 12:21, Michael Kubovy <kubovy at virginia.edu> 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
> 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
>
Did you see the note (in bold)
NOTE: R 3.0.0 and higher comes bundled with Tck/Tk 8.6.0 so you do not need this package
on the CRAN page http://cran.r-project.org/bin/macosx/tools?
"This package" refers to tcltk8.5.5.
Reinstalling R 3.0.1 should solve your problem (see note).
Berend
>
>> 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
More information about the R-SIG-Mac
mailing list