On Jan 6, 2009, at 9:24 , Ivan Alves wrote:

Dear all,

The latest leopard snapshot of R 2.8.1 seems to have a problem loading the tcltk package, and found no related entries in gmane.gmane.comp.lang.r.mac. It appears to be a broken link. Any suggestions on how to fix it? Many thanks in advance.


As the messages says you are apparently missing Tcl/Tk. If you had installed CRAN R, it would be installed automatically. Since you didn't, you have to install it separately from
http://cran.r-project.org/bin/macosx/tools/

Cheers,
Simon



Best regards,
Ivan

Output:

> sessionInfo()
R version 2.8.1 Patched (2009-01-05 r47481)
i386-apple-darwin9.6.0

locale:
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
> library(tcltk)
Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/Library/Frameworks/R.framework/ Resources/library/tcltk/libs/i386/tcltk.so': dlopen(/Library/Frameworks/R.framework/Resources/library/tcltk/libs/ i386/tcltk.so, 10): Library not loaded: /usr/local/lib/libtcl8.5.dylib Referenced from: /Library/Frameworks/R.framework/Resources/library/ tcltk/libs/i386/tcltk.so
 Reason: image not found
Error : .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package/namespace load failed for 'tcltk'

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac



_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to