[R-SIG-Mac] tcl/tk problem.

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jul 19 16:29:53 CEST 2010


On Mon, 19 Jul 2010, James Platt wrote:

> Hi People,
>
> I am quite new to R and I also apologize if this has come up before:
>

Did you actually read http://cran.r-project.org/bin/macosx/ ?
This para

   This package only contains the R framework, 32-bit GUI (R.app) and
   64-bit GUI (R64.app). For Tcl/Tk libraries (needed if you want to use
   tcltk) and GNU Fortran (needed if you want to compile packages from
   sources that contain FORTRAN code) please see the tools directory.

applies to you.

> Trying to load tcl/tk package I get this:
>
> Error: package/namespace load failed for 'tcltk'
> Loading Tcl/Tk interface ... Error : .onLoad failed in loadNamespace() for 
> 'tcltk', details:
> call: dyn.load(file, DLLpath = DLLpath, ...)
> error: unable to load shared library 
> '/Library/Frameworks/R.framework/Resources/library/tcltk/libs/x86_64/tcltk.so':
> dlopen(/Library/Frameworks/R.framework/Resources/library/tcltk/libs/x86_64/tcltk.so, 
> 10): Library not loaded: /usr/local/lib/libtcl8.5.dylib
> Referenced from: 
> /Library/Frameworks/R.framework/Resources/library/tcltk/libs/x86_64/tcltk.so
> Reason: image not found
>
>> sessionInfo()
> R version 2.11.1 (2010-05-31)
> x86_64-apple-darwin9.8.0
>
> locale:
> [1] en_GB.UTF-8/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] TeachingDemos_2.6
>
> loaded via a namespace (and not attached):
> [1] tools_2.11.1
>
>
> How do I resolve this?
> Thanks for any help that can be provided,
>
> James
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> 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