Error with library(tcltk) on R-devel
On Fri, Mar 8, 2013 at 3:43 PM, Dan Tenenbaum <dtenenba at fhcrc.org> wrote:
On Fri, Mar 8, 2013 at 3:36 PM, John Fox <jfox at mcmaster.ca> wrote:
Dear Dan, You also have to install X11
Sorry, I lied when I said this was a totally vanilla machine. I had actually installed XQuartz 2.7.4.
and Tcl/Tk for X-Windows.
For windows, really? ;-)
Sorry, didn't see the "X-". Your instructions worked well. Installing the tcltk package did the trick. Thanks, Dan
Are you sure I have to install tcl/tk on my mac? capabilities() says TRUE for tcltk.
The R Commander installation notes at
Thanks, Dan
<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