[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 Macbook 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 '/Library/Frameworks/R.framework/Versions/2.8/Resources/library/tcltk/libs/i386/tcltk.so': dlopen(/Library/Frameworks/R.framework/Versions/2.8/Resources/library/tcltk/libs/i386/tcltk.so, 10): Library not loaded: /usr/local/lib/libtcl8.5.dylib Referenced from: /Library/Frameworks/R.framework/Versions/2.8/Resources/library/tcltk/libs/i386/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 myself) and both R and X11 are in their last updated version. I have also tried restarting after updating X11. Can someone try to help me? i have recently swithced to mac and am having an important exam soon. Thanks to anyone. Ben -- View this message in context: http://www.nabble.com/Problem-with-tcl-tk-and-Rcmdr---urgent-help-required-tp20791135p20791135.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Problem with tcl/tk and Rcmdr - urgent help required
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 <[EMAIL PROTECTED]>, who has provided help before. Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of beniamino > Sent: December-02-08 7:25 AM > To: r-help@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 Macbook > 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 > '/Library/Frameworks/R.framework/Versions/2.8/Resources/library/tcltk/libs/i 3 > 86/tcltk.so': > > dlopen(/Library/Frameworks/R.framework/Versions/2.8/Resources/library/tcltk/ l > ibs/i386/tcltk.so, > 10): Library not loaded: /usr/local/lib/libtcl8.5.dylib > Referenced from: > /Library/Frameworks/R.framework/Versions/2.8/Resources/library/tcltk/libs/i3 8 > 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 myself) > and both R and X11 are in their last updated version. > > I have also tried restarting after updating X11. Can someone try to help me? > i have recently swithced to mac and am having an important exam soon. > > Thanks to anyone. > > Ben > -- > View this message in context: http://www.nabble.com/Problem-with-tcl-tk-and- > Rcmdr---urgent-help-required-tp20791135p20791135.html > Sent from the R help mailing list archive at Nabble.com. > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Problem with tcl/tk and Rcmdr - urgent help required
Dear John, i did follow the Rcmdr instructions for macosx, having no results though. I am soon upgrading to 10.5 and hope i'll encounter no problems. The silly thing however was that i had installed every file needed for rcmdr to run but apparently had no results. Is there maybe some key point which is usually forgotten, more than what i have done (descripted below)? Ben p.s. i am also attaching Chiara to this email who is providing assistance to the research and is struggling with Rcmdr on her laptop. Il giorno 02/dic/08, alle ore 16:05, John Fox ha scritto: 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 <[EMAIL PROTECTED]>, who has provided help before. Regards, John -- John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] project.org] On Behalf Of beniamino Sent: December-02-08 7:25 AM To: r-help@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 Macbook 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 '/Library/Frameworks/R.framework/Versions/2.8/Resources/library/ tcltk/libs/i 3 86/tcltk.so': dlopen(/Library/Frameworks/R.framework/Versions/2.8/Resources/ library/tcltk/ l ibs/i386/tcltk.so, 10): Library not loaded: /usr/local/lib/libtcl8.5.dylib Referenced from: /Library/Frameworks/R.framework/Versions/2.8/Resources/library/ tcltk/libs/i3 8 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 myself) and both R and X11 are in their last updated version. I have also tried restarting after updating X11. Can someone try to help me? i have recently swithced to mac and am having an important exam soon. Thanks to anyone. Ben -- View this message in context: http://www.nabble.com/Problem-with-tcl-tk-and- Rcmdr---urgent-help-required-tp20791135p20791135.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Problem with tcl/tk and Rcmdr - urgent help required
Dear Ben, > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Ben > Sent: December-03-08 5:56 AM > To: John Fox > Cc: r-help@r-project.org; Chiara Malaguti > Subject: Re: [R] Problem with tcl/tk and Rcmdr - urgent help required > > Dear John, > i did follow the Rcmdr instructions for macosx, having no results > though. > I am soon upgrading to 10.5 and hope i'll encounter no problems. > The silly thing however was that i had installed every file needed > for rcmdr to run but apparently had no results. > > Is there maybe some key point which is usually forgotten, more than > what i have done (descripted below)? I'm afraid that I can't offer much more help, since, as I explained, I'm a relatively new Mac user myself. If you've followed all of the steps in the directions, then you haven't left anything out. You don't really say in much detail that you've done. For example, did you click the "X" button in the R Console? >From the instructions: 4) Start R (e.g. double-click the R icon in /Applications). 5) Start X11 (e.g. click the X11 button on the R Console or double-click the X11 icon in /Applications/Utilities). 6) Close the X11 terminal (optional). 7) Type library(Rcmdr) in the R Console and press Return. Also when you installed R, did you attend to: 1) Install R.app (the R for Mac OS X GUI). If you select 'Customize' during installation of R.app, make sure the entry for tcltk remains selected. One more thing that you could do would be to answer the question that I asked you in my last email: What happens when you try to load the tcltk package directly via library(tcltk)? > > Ben > > p.s. i am also attaching Chiara to this email who is providing > assistance to the research and is struggling with Rcmdr on her laptop. Is Chiara a Mac user too? What problem is she encountering? Regards, John > > Il giorno 02/dic/08, alle ore 16:05, John Fox ha scritto: > > > 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 <[EMAIL PROTECTED]>, who has > > provided > > help before. > > > > Regards, > > John > > > > -- > > John Fox, Professor > > Department of Sociology > > McMaster University > > Hamilton, Ontario, Canada > > web: socserv.mcmaster.ca/jfox > > > > > >> -Original Message- > >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > >> project.org] > > On > >> Behalf Of beniamino > >> Sent: December-02-08 7:25 AM > >> To: r-help@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 > > Macbook > >> 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 > >> > > '/Library/Frameworks/R.framework/Versions/2.8/Resources/library/ > > tcltk/libs/i > > 3 > >> 86/tcltk.so': > >> > >> > > dlopen(/Library/Frameworks/R.framework/Versions/2.8/Resources/ > > library/tcltk/ > > l > >> ibs/i386/tcltk.so, > >> 10): Library not loaded: /usr/local/lib/libtcl8.5.dylib