[R] Problem with tcl/tk and Rcmdr - urgent help required

John Fox jfox at mcmaster.ca
Tue Dec 2 16:05:13 CET 2008

Dear Ben,

It seems clear that the problem is in loading the tcltk package. To confirm
that, does library(tcltk) fail?

I'm not very knowledgeable about Mac OS X. I do have a MacBook, with OS X
10.5, however, and encountered no problems installing and running the Rcmdr
package. Have you seen the R Commander installation instructions for Mac OS
X 10.4, at
<http://socserv.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html>? If
not, maybe something there will help.

I'm copying this response to Rob Goedman <goedman at mac.com>, who has provided
help before.


John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
web: socserv.mcmaster.ca/jfox

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
> Behalf Of beniamino
> Sent: December-02-08 7:25 AM
> To: r-help at r-project.org
> Subject: [R] Problem with tcl/tk and Rcmdr - urgent help required
> Hello everyone,
> i have been searching the whole day, trying ANY solution offered by the
> internet and before headbanging against the wall would like to try asking
> for your help.
> As many others, i am haveing problems loading the Rcmdr package with
> running Tiger 10.4.11. X11 version updated to the last one after having
> manually installed.
> I have also installed (obviously) the Rcmdr package with all dependencies.
> However (damn) i keep having the following answer to the library (rcmdr)
> command:
> > library (Rcmdr)
> Carico il pacchetto richiesto: tcltk
> Loading Tcl/Tk interface ... Error in dyn.load(file, DLLpath = DLLpath,
> :
>   impossibile caricare libreria condivisa
> 86/tcltk.so':
> ibs/i386/tcltk.so,
> 10): Library not loaded: /usr/local/lib/libtcl8.5.dylib
>   Referenced from:
> 6/tcltk.so
>   Reason: image not found
> Error : .onLoad non riuscito in 'loadNamespace' per tcltk
> Errore: pacchetto 'tcltk' non caricato
> The language is in italian but it basically says it cannot load shared
> library.
> x11 is running, the file tcltk.so phisically exists (i have checked
> and both R and X11 are in their last updated version.
> I have also tried restarting after updating X11. Can someone try to help
> i have recently swithced to mac and am having an important exam soon.
> Thanks to anyone.
> Ben
> --
> View this message in context:
> Rcmdr---urgent-help-required-tp20791135p20791135.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list