About the problem for loading tcltk
1
1
Entering edit mode
Likun Wang ▴ 50
@likun-wang-3732
Last seen 9.6 years ago
Dear all, Could you help me fix the following problem? Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/Library/Frameworks/R.framework/Resources/library/tcltk/libs/x86_64/t cltk.so': dlopen(/Library/Frameworks/R.framework/Resources/library/tcltk/libs/x 86_64/tcltk.so, 10): Library not loaded: /usr/X11/lib/libX11.6.dylib Referenced from: /Library/Frameworks/R.framework/Resources/library/tcltk/libs/x86_64/tc ltk.so Reason: image not found Error : .onLoad failed in 'loadNamespace' for 'tcltk' Error: package 'tcltk' could not be loaded The system is MAC OS X 10.5.8. How to install Tcltk.dmg on mac? Thanks a lot! -- Likun Wang MOE Key Laboratory of Bioinformatics and Bioinformatics Div, TNLIST / Department of Automation, Tsinghua University, Beijing 100084, China Tel: +86-10-62794294 Fax: +86-10-62786911 Email: wang.likun at gmail.com
• 6.2k views
ADD COMMENT
1
Entering edit mode
@steve-lianoglou-2771
Last seen 13 months ago
United States
Hi, On Thu, Feb 11, 2010 at 12:10 PM, Likun Wang <wang.likun at="" gmail.com=""> wrote: > Dear all, > > Could you help me fix the following problem? > > Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath = DLLpath, ...) : > ?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/X11/lib/libX11.6.dylib > ?Referenced from: > /Library/Frameworks/R.framework/Resources/library/tcltk/libs/x86_64/ tcltk.so > ?Reason: image not found > Error : .onLoad failed in 'loadNamespace' for 'tcltk' > Error: package 'tcltk' could not be loaded > > The system is MAC OS X 10.5.8. How to install Tcltk.dmg on mac? I didn't see an answer to this question, so here goes: I'm assuming you're using the latest R-2.10.1? Check out the instructions from the macosx install page: http://cran.r-project.org/bin/macosx/ Specifically the block of text after the R-2.10.1.pkg link: """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.""" So ... go to the tools directory: http://cran.r-project.org/bin/macosx/tools/ and get the tcltk *.dmg from there. I'm guessing it will solve your problems. Hope that helps, -steve -- Steve Lianoglou Graduate Student: Computational Systems Biology | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact
ADD COMMENT

Login before adding your answer.

Traffic: 845 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6