An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20090712/371d882e/attachment.pl>
tcltk
10 messages · David Winsemius, Brian Ripley, Mikhail Beketov +2 more
On Jul 12, 2009, at 4:35 PM, Mikhail Beketov wrote:
Hi, I cannot load the tcltk. I saw that some people had this problem, but what is the solution? I just updated my R to the 2.9.1 version. My MAC OS X is 10.4.11. I also additionally installed tcl/tk 8.5.5 (X11 version). But it doesn't work. The error message is: Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/Library/Frameworks/R.framework/ Versions/2.9/Resources/library/tcltk/libs/i386/tcltk.so':
What happens when you look at the contents of: /Library/Frameworks/R.framework/Versions/2.9/Resources/library/tcltk/ libs/i386/ ... with either the Finder or using a Terminal session. Is it there?
dlopen(/Library/Frameworks/R.framework/Versions/2.9/Resources/ library/tcltk/libs/i386/tcltk.so, 10): Library not loaded: /usr/ X11R6/lib/libX11.6.dylib
And when you look at the contents of /usr/X11R6/lib/ with a Terminal session. Is it there?
Referenced from: /Library/Frameworks/R.framework/Versions/2.9/ 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' Many many thanks in advance! Mikhail [[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius, MD Heritage Laboratories West Hartford, CT
See the FAQ sections 8 and 2.1.4, e.g. X11 window system is necessary to use the X11 device in R and other devices that rely on X11. ... Mac OS X 10.3 (Panther) and 10.4 (Tiger) include X11 on the installation CD/DVD, however, it is not selected by default. If it is not installed, you can re-install it using the original installation CD/DVD. ... The error message indicates that your machine either does not have X11 installed or it is not installed properly.
On Sun, 12 Jul 2009, Mikhail Beketov wrote:
Hi, I cannot load the tcltk. I saw that some people had this problem, but what is the solution? I just updated my R to the 2.9.1 version. My MAC OS X is 10.4.11. I also additionally installed tcl/tk 8.5.5 (X11 version). But it doesn't work. The error message is: Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath = DLLpath, ...) : ? unable to load shared library '/Library/Frameworks/R.framework/Versions/2.9/Resources/library/tcltk/libs/i386/tcltk.so': ? dlopen(/Library/Frameworks/R.framework/Versions/2.9/Resources/library/tcltk/libs/i386/tcltk.so, 10): Library not loaded: /usr/X11R6/lib/libX11.6.dylib ? Referenced from: /Library/Frameworks/R.framework/Versions/2.9/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' Many many thanks in advance! Mikhail [[alternative HTML version deleted]]
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
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20090713/58c6ae46/attachment.pl>
On Jul 13, 2009, at 12:16 PM, Mikhail Beketov wrote:
Dear Prof. Ripley, dear Mr. Winsemius, dear all, I just installed Xcode tools from my installation CD. Also additionally the package X11SDK. But ... it still doesn't work. I have (I mean I can see it in Finder): /Library/Frameworks/R.framework/Versions/2.9/Resources/library/tcltk/ libs/i386/tcltk.so
The error message is suggesting there is some problem with loading that file. Have your rebuilt permissions recently? Disk Utility.app is the the approapriate starting poit for permissions fixes.
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libX11.6.2.dylib" and also alias "libX11.6.dylib" in the same place.
So it is in a location where R is not expecting to find it. I will bow out now, since I am not sure that reinstalling X11 in the /usr/ tree is the right strategy (or even needed ... see below). There may be a path argument that could be set, but I would need to read through the available manual material before I maybe got a clue.( And then it would still be a guess.)
I'm afraid I don't know what is "terminal session".
There is an application named Terminal (or Terminal.app) which is by default in your Applications/Utilities/ folder. It lets you execute Unix commands. I am not able to see the /usr/ folder tree with my Finder setup, so I can only look at it with Terminal. Maybe someone has a hint about how to let Finder peek behind the Unix curtain.
Yours, Mikhail ----- Original Message ----- From: Prof Brian Ripley <ripley at stats.ox.ac.uk> Date: Monday, July 13, 2009 11:32 Subject: Re: [R-SIG-Mac] tcltk To: Mikhail Beketov <mikhail.beketov at ufz.de> Cc: r-sig-mac at stat.math.ethz.ch
See the FAQ sections 8 and 2.1.4, e.g. X11 window system is necessary to use the X11 device in R and other devices that rely on X11. ... Mac OS X 10.3 (Panther) and 10.4 (Tiger) include X11 on the installation CD/DVD, however, it is not selected by default. If it is not installed, you can re-install it using the original installation CD/DVD. ... The error message indicates that your machine either does not have X11 installed or it is not installed properly. On Sun, 12 Jul 2009, Mikhail Beketov wrote:
Hi, I cannot load the tcltk. I saw that some people had this
problem, but what is the solution?
I just updated my R to the 2.9.1 version. My MAC OS X is
10.4.11. I also additionally installed tcl/tk 8.5.5 (X11 version). But it doesn't work. The error message is:
Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath =
DLLpath, ...) :
? unable to load shared library
'/Library/Frameworks/R.framework/Versions/2.9/Resources/library/ tcltk/libs/i386/tcltk.so':> ? dlopen(/Library/Frameworks/ R.framework/Versions/2.9/Resources/library/tcltk/libs/i386/ tcltk.so, 10): Library not loaded: /usr/X11R6/lib/libX11.6.dylib
? Referenced from:
/Library/Frameworks/R.framework/Versions/2.9/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' Many many thanks in advance! Mikhail [[alternative HTML version deleted]]
-- 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
=================================================
Mikhail Beketov Ph.D.
Helmholtz Centre for Environmental Research - UFZ
Department of System Ecotoxicology
Permoserstrasse 15, 04318 Leipzig, Germany
phone: 0049-341-235-1498
fax: 0049-341-235-2401
email: mikhail.beketov at ufz.de
http://www.ufz.de/index.php?en=3718
=================================================
Registered Office: Leipzig
Registration Office: Amtsgericht Leipzig
Trade Register Nr. B 4703
Chairman of the Supervisory Board: MinDirig Hartmut F. Gr?bel
Scientific Director: Prof. Dr. Georg Teutsch
Administrative Director: Dr. Andreas Schmidt
[[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius, MD Heritage Laboratories West Hartford, CT
On Jul 13, 2009, at 3:11 PM, David Winsemius wrote:
On Jul 13, 2009, at 12:16 PM, Mikhail Beketov wrote:
Dear Prof. Ripley, dear Mr. Winsemius, dear all, I just installed Xcode tools from my installation CD. Also additionally the package X11SDK. But ... it still doesn't work. I have (I mean I can see it in Finder): /Library/Frameworks/R.framework/Versions/2.9/Resources/library/ tcltk/libs/i386/tcltk.so
The error message is suggesting there is some problem with loading that file. Have your rebuilt permissions recently? Disk Utility.app is the the approapriate starting poit for permissions fixes.
For brief information on Disk Utility (Applications -> Utilities): http://docs.info.apple.com/article.html?path=DiskUtility/10.5/en/duh17.html
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libX11.6.2.dylib" and also alias "libX11.6.dylib" in the same place.
So it is in a location where R is not expecting to find it. I will bow out now, since I am not sure that reinstalling X11 in the /usr/ tree is the right strategy (or even needed ... see below). There may be a path argument that could be set, but I would need to read through the available manual material before I maybe got a clue. ( And then it would still be a guess.)
I'm afraid I don't know what is "terminal session".
There is an application named Terminal (or Terminal.app) which is by default in your Applications/Utilities/ folder. It lets you execute Unix commands. I am not able to see the /usr/ folder tree with my Finder setup, so I can only look at it with Terminal. Maybe someone has a hint about how to let Finder peek behind the Unix curtain.
David, To enable Finder to display 'hidden' files and folders, open a Terminal and paste in: defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder Finder will restart after the last command. Note that doing this will also display files that begin with a '.' which are normally hidden, but which can be beneficial to show. Files such as .RData and configuration files such as .emacs will now be visible. However you will also see files such as .DS_Store in each folder and on the Desktop, which is a system file for Finder. It will also show these hidden files and folders files when installing new applications, which risks confusing folks. To re-enable the default Finder behavior, paste this in to a Terminal: defaults write com.apple.finder AppleShowAllFiles FALSE killall Finder HTH, Marc Schwartz
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20090714/514a76be/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20090714/de5af4fa/attachment.pl>
1 day later
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20090715/07cd6e9a/attachment.pl>
Greetings I have a Mac PowerBook with 10.4.11 that did not have R on it but it did have X11 1.1.3 - Free86 4.4.0 but no Xcode Tools So I installed R-2.9-branch-48932.dmg Then with the GUI and Package Manager tried to install tcltk; got the same error message you did Then installed tcltk-8.5.5-X11.dmg; and the error went away and install proceeded to done This would suggest install from scratch, tho painful, would solve the problem
From: Mikhail Beketov <mikhail.beketov at ufz.de> Date: Wed, 15 Jul 2009 14:08:25 +0200 To: Marc Schwartz <marc_schwartz at me.com> Cc: "r-sig-mac at stat.math.ethz.ch" <r-sig-mac at stat.math.ethz.ch> Subject: Re: [R-SIG-Mac] tcltk Dear Marc, Dear All, Yes, I did check it with Disk Utility. I repaired some permissions. Also, I tried to re-install X11 from that link, but my system has a new version, so it was not possible. Anyway, tcltk doesn't work. One of my colleague simply suggest to update the OS to the 10.5 (instead of 10.4 I'm using). I'm giving up with this problem for now, as I have no time. I will let you know if I will finally solve it. Thanks a lot! All the best, Mikhail On 14 Jul 2009, at 13:28, Marc Schwartz wrote:
On Jul 14, 2009, at 4:44 AM, Mikhail Beketov wrote:
Dear Both, Well the commands really allow to see all these hidden files and folders. Great! I can see that I have that file in that location. But still doesn't work with this tcltk ... it is: "/usr/X11R6/lib/libX11.6.2.dylib" Can be the problem that R needs "llibX11.6.dylib" but not this with 6.2. ? Can be there some way to force R to recognise this file? Yours, Mikhail
Mikhail, Did you run the Disk Utility application and check the disk permissions as David had suggested? If not, please do so to be sure that this is not a source of the problem. If that does not resolve anything, then I would recommend re- installing X11. For Tiger, you can do so from the Tiger install DVD or download it from here: http://www.apple.com/downloads/macosx/apple/macosx_updates/ x11formacosx.html I would also be sure to run Software Update to be sure that you are up to date on all system components. One final thought would be to remove and reinstall R, using the full disk image from a CRAN mirror. It may be possible that something about the R installation was corrupted. HTH, Marc
==============================================
Mikhail Beketov Ph.D.
Helmholtz Centre for Environmental Research - UFZ
Department of System Ecotoxicology
Permoserstrasse 15, 04318 Leipzig, Germany
phone: 0049-341-235-1498
fax: 0049-341-235-2401
email: mikhail.beketov at ufz.de
http://www.ufz.de/index.php?en=3718
==============================================
SPEAR Project: http://www.systemecology.eu/SPEAR/Start.html
ECOLINK Project: http://www.ecolink.ufz.de/index.php?en=17285
Registered Office: Leipzig
Registration Office: Amtsgericht Leipzig
Trade Register Nr. B 4703
Chairman of the Supervisory Board: MinDirig Hartmut F. Gr?bel
Scientific Director: Prof. Dr. Georg Teutsch
Administrative Director: Dr. Andreas Schmidt
[[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac