[R-SIG-Mac] Error with library(tcltk) on R-devel
John Fox
jfox at mcmaster.ca
Sat Mar 9 00:36:42 CET 2013
Dear Dan,
You also have to install X11 and Tcl/Tk for X-Windows. The R Commander
installation notes at
<http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html>
have detailed instructions for various versions of Mac OS X. (You can
disregard the part about installing the Rcmdr package if you're not
interested in that.)
I hope this helps,
John
> -----Original Message-----
> From: r-sig-mac-bounces at r-project.org [mailto:r-sig-mac-bounces at r-
> project.org] On Behalf Of Dan Tenenbaum
> Sent: Friday, March 08, 2013 6:15 PM
> To: r-sig-mac at r-project.org
> Subject: [R-SIG-Mac] Error with library(tcltk) on R-devel
>
> On a vanilla Snow Leopard machine with nothing but XCode installed, I
> installed R-devel and then got this when trying to load the tcltk
> package:
>
> > library(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/l
> ibs/x86_64/tcltk.so':
>
> dlopen(/Library/Frameworks/R.framework/Versions/3.0/Resources/library/t
> cltk/libs/x86_64/tcltk.so,
> 10): Library not loaded: /usr/local/lib/libtcl8.5.dylib
> Referenced from:
> /Library/Frameworks/R.framework/Versions/3.0/Resources/library/tcltk/li
> bs/x86_64/tcltk.so
> Reason: image not found
> Error: package or namespace load failed for 'tcltk'
>
> > sessionInfo()
> R Under development (unstable) (2013-03-03 r62117)
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>
> locale:
> [1] C
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
> >
>
> FWIW, there is no /usr/local directory on this machine.
>
> Dan
>
> [[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