[R-SIG-Mac] Trouble with tcltk

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Sep 3 16:38:33 CEST 2013


On 03/09/2013 15:22, Kasper Daniel Hansen wrote:
> For those of us who compile from source, I assume this
>    tcl8.6.0-darwin10-x86_64.tar.gz
> from
> http://r.research.att.com/libs/
> is the recommend version? Indeed, I always assume I should just grab the
> newest version of everything I need from this location.

You also need tk.

But I believe that installing a binary of R 3.0.1 puts in place all you 
need: I've not set a new Mac up since January.
>
> Best,
> Kasper
>
>
>
>
> On Tue, Sep 3, 2013 at 6:40 AM, Prof Brian Ripley <ripley at stats.ox.ac.uk
> <mailto:ripley at stats.ox.ac.uk>> wrote:
>
>     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
>         <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 <tel:%2B1-434-982-4729>
>         Lab:        B019 +1-434-982-4751 <tel:%2B1-434-982-4751>
>         WWW: http://www.people.virginia.__edu/~mk9y/
>         <http://www.people.virginia.edu/~mk9y/>
>
>
>                  [[alternative HTML version deleted]]
>
>
>
>         _________________________________________________
>         R-SIG-Mac mailing list
>         R-SIG-Mac at r-project.org <mailto:R-SIG-Mac at r-project.org>
>         https://stat.ethz.ch/mailman/__listinfo/r-sig-mac
>         <https://stat.ethz.ch/mailman/listinfo/r-sig-mac>
>
>
>
>     --
>     Brian D. Ripley, ripley at stats.ox.ac.uk <mailto:ripley at stats.ox.ac.uk>
>     Professor of Applied Statistics,
>     http://www.stats.ox.ac.uk/~__ripley/
>     <http://www.stats.ox.ac.uk/~ripley/>
>     University of Oxford,             Tel: +44 1865 272861
>     <tel:%2B44%201865%20272861> (self)
>     1 South Parks Road, +44 1865 272866 <tel:%2B44%201865%20272866> (PA)
>     Oxford OX1 3TG, UK                Fax: +44 1865 272595
>     <tel:%2B44%201865%20272595>
>
>
>     _________________________________________________
>     R-SIG-Mac mailing list
>     R-SIG-Mac at r-project.org <mailto:R-SIG-Mac at r-project.org>
>     https://stat.ethz.ch/mailman/__listinfo/r-sig-mac
>     <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