Can't install tcl/tk on Mac OS 10.3.7
2
0
Entering edit mode
@sam-volchenboum-1074
Last seen 10.2 years ago
I just did a fresh install of R 2.0.1 on my Powerbook 867 running a fresh 10.3.7 install. The R installation went fine. I then tried installing the Bioconductor packages. When I tried to install widgetTools, I got a tcl/tk error. And when I tried library(tcltk) , I got: Error in fun(...) : Can't find a usable init.tcl in the following directories: /usr/local/lib/tcl8.4 /usr/local/lib/tcl8.4 This probably means that Tcl wasn't installed properly. Error: .onLoad failed in loadNamespace for 'tcltk' Error in library(tcltk) : package/namespace load failed for 'tcltk' So, I downloaded a fresh distribution of Tcl/Tk (TclTkAquaBI-8.4.9.0.dmg) and installed it. I copied the init.tcl library to /usr/local/lib/tcl8.4 (which I had to create). Then I tried again: library(tcltk) and got Error in fun(...) : this isn't a Tk applicationcouldn't connect to display ":0" Error: .onLoad failed in loadNamespace for 'tcltk' Error in library(tcltk) : package/namespace load failed for 'tcltk' I also have downloaded the most recent xcode and XDarwin. But this has not helped. If anyone has this working on Mac OS X with R 2.0.1, please enlighten me. Thanks. Sam [[alternative text/enriched version deleted]]
widgetTools widgetTools • 3.6k views
ADD COMMENT
0
Entering edit mode
rgentleman ★ 5.5k
@rgentleman-7725
Last seen 9.6 years ago
United States
You might find that you will get better help if you ask questions about failures of your R installation on the R help list. Did you rebuild/reinstall the tcltk package after you updated the tcl/tk libraries (if not then you should). But really your R installation seems to have failed and careful reading of the R INSTALLATION guide and FAQ for OS X should reveal the causes. I get: > capabilities() jpeg png tcltk X11 GNOME libz http/ftp sockets TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE libxml fifo cledit IEEE754 bzip2 PCRE TRUE TRUE TRUE TRUE TRUE TRUE Robert On Jan 14, 2005, at 6:43 PM, Sam Volchenboum wrote: > I just did a fresh install of R 2.0.1 on my Powerbook 867 running a > fresh 10.3.7 install. The R installation went fine. > > I then tried installing the Bioconductor packages. > > When I tried to install widgetTools, I got a tcl/tk error. > > And when I tried > > library(tcltk) > > , I got: > > Error in fun(...) : Can't find a usable init.tcl in the following > directories: > /usr/local/lib/tcl8.4 /usr/local/lib/tcl8.4 > This probably means that Tcl wasn't installed properly. > Error: .onLoad failed in loadNamespace for 'tcltk' > Error in library(tcltk) : package/namespace load failed for 'tcltk' > > So, I downloaded a fresh distribution of Tcl/Tk > (TclTkAquaBI-8.4.9.0.dmg) and installed it. I copied the init.tcl > library to /usr/local/lib/tcl8.4 (which I had to create). > > Then I tried again: > > library(tcltk) > > and got > > Error in fun(...) : this isn't a Tk applicationcouldn't connect to > display ":0" > Error: .onLoad failed in loadNamespace for 'tcltk' > Error in library(tcltk) : package/namespace load failed for 'tcltk' > > I also have downloaded the most recent xcode and XDarwin. But this has > not helped. > > If anyone has this working on Mac OS X with R 2.0.1, please enlighten > me. > > Thanks. > > Sam > > [[alternative text/enriched version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > > +--------------------------------------------------------------------- -- ----------------+ | Robert Gentleman phone: (206) 667-7700 | | Head, Program in Computational Biology fax: (206) 667-1319 | | Division of Public Health Sciences office: M2-B865 | | Fred Hutchinson Cancer Research Center | | email: rgentlem@fhcrc.org | +--------------------------------------------------------------------- -- ----------------+
ADD COMMENT
0
Entering edit mode
stefano iacus ▴ 430
@stefano-iacus-995
Last seen 10.2 years ago
Hi, you should install the tcltk (apple) package that comes with the R for Mac OS X installer. In the R for Mac OS X Faq it is written that you need to have a copy of X11-tcltk to run tcltk R package. the AquaTclTk is not compatible at the moment with the R GUI. So 1. install (X11)tcltk that comes with the installer 2. run R 3. run the X11 windows server (either from the R toolbar or from your Applications folder) 4. library(tcltk) as for 3. : in some cases X11 window server is not installed on your hard disk, but you can find it in the install CDs of Mac OS X in all distributions of OS X 10.3 stefano On Jan 15, 2005, at 3:43 AM, Sam Volchenboum wrote: > I just did a fresh install of R 2.0.1 on my Powerbook 867 running a > fresh 10.3.7 install. The R installation went fine. > > I then tried installing the Bioconductor packages. > > When I tried to install widgetTools, I got a tcl/tk error. > > And when I tried > > library(tcltk) > > , I got: > > Error in fun(...) : Can't find a usable init.tcl in the following > directories: > /usr/local/lib/tcl8.4 /usr/local/lib/tcl8.4 > This probably means that Tcl wasn't installed properly. > Error: .onLoad failed in loadNamespace for 'tcltk' > Error in library(tcltk) : package/namespace load failed for 'tcltk' > > So, I downloaded a fresh distribution of Tcl/Tk > (TclTkAquaBI-8.4.9.0.dmg) and installed it. I copied the init.tcl > library to /usr/local/lib/tcl8.4 (which I had to create). > > Then I tried again: > > library(tcltk) > > and got > > Error in fun(...) : this isn't a Tk applicationcouldn't connect to > display ":0" > Error: .onLoad failed in loadNamespace for 'tcltk' > Error in library(tcltk) : package/namespace load failed for 'tcltk' > > I also have downloaded the most recent xcode and XDarwin. But this has > not helped. > > If anyone has this working on Mac OS X with R 2.0.1, please enlighten > me. > > Thanks. > > Sam > > [[alternative text/enriched version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor >
ADD COMMENT

Login before adding your answer.

Traffic: 483 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