Forbeck, Doug (NIH/NCI)
2003-Feb-11 15:47 UTC
[R] Tcl/Tk support is not available on this system.
I am trying to get R to run on a Red Hat 8 system, I am running R version 1.6.2 with Tcl/Tk version 8.3.5 installed. When I try to test R from the data_sets directory I get the error message; Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this system Error in fileBrowser(textToShow = "Choose one CDF file" , nSelect = 1, : tcl/tk library not available Execution halted. Any help would be appreciated. Doug Forbeck
Peter Dalgaard BSA
2003-Feb-11 16:06 UTC
[R] Tcl/Tk support is not available on this system.
"Forbeck, Doug (NIH/NCI)" <forbeckd at mail.nih.gov> writes:> I am trying to get R to run on a Red Hat 8 system, I am running R version > 1.6.2 with Tcl/Tk version 8.3.5 installed. When I try to test R from the > data_sets directory I get the error message; > Error in firstlib(which.lib.loc, package) : > Tcl/Tk support is not available on this system > Error in fileBrowser(textToShow = "Choose one CDF file" , nSelect = 1, : > tcl/tk library not available > Execution halted. > > Any help would be appreciated.8.3.5 is not stock RH8 is it? I have 8.3.3. My best guess is that something went wrong during the build of R. Make sure that the configure process figures out where to find the Tcl/Tck header files and libraries. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
You probably do not have the tcl/tk libraries on which R tcltk package relies. tcl/tk can be downloaded from the web.>From: "Forbeck, Doug (NIH/NCI)" <forbeckd at mail.nih.gov> >To: "'R-help at lists.R-project.org'" <R-help at stat.math.ethz.ch> >MIME-Version: 1.0 >X-Virus-Scanned: by amavisd-milter (http://amavis.org/) >X-Virus-Scanned: by amavisd-milter (http://amavis.org/) >X-Spam-Status: No, hits=0.7 required=5.0tests=EXCHANGE_SERVER,SPAM_PHRASE_00_01 version=2.43>X-Spam-Level: >Subject: [R] Tcl/Tk support is not available on this system. >X-BeenThere: r-help at stat.math.ethz.ch >X-Mailman-Version: 2.0.13 >List-Help: <mailto:r-help-request at stat.math.ethz.ch?subject=help> >List-Post: <mailto:r-help at stat.math.ethz.ch> >List-Subscribe: <http://www.stat.math.ethz.ch/mailman/listinfo/r-help>,<mailto:r-help-request at stat.math.ethz.ch?subject=subscribe>>List-Id: Main R Mailing List: Primary help <r-help.stat.math.ethz.ch> >List-Unsubscribe: <http://www.stat.math.ethz.ch/mailman/listinfo/r-help>,<mailto:r-help-request at stat.math.ethz.ch?subject=unsubscribe>>List-Archive: <http://www.stat.math.ethz.ch/pipermail/r-help/> >X-Original-Date: Tue, 11 Feb 2003 09:39:30 -0500 >Date: Tue, 11 Feb 2003 09:39:30 -0500 > > >I am trying to get R to run on a Red Hat 8 system, I am running R version >1.6.2 with Tcl/Tk version 8.3.5 installed. When I try to test R from the >data_sets directory I get the error message; >Error in firstlib(which.lib.loc, package) : > Tcl/Tk support is not available on this system >Error in fileBrowser(textToShow = "Choose one CDF file" , nSelect = 1, : > tcl/tk library not available >Execution halted. > >Any help would be appreciated. > >Doug Forbeck > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >http://www.stat.math.ethz.ch/mailman/listinfo/r-helpJianhua Zhang Department of Biostatistics Dana-Farber Cancer Institute 44 Binney Street Boston, MA 02115-6084
>-----Original Message----- >From: r-help-admin at stat.math.ethz.ch >[mailto:r-help-admin at stat.math.ethz.ch] On Behalf Of Peter DalgaardBSA>Sent: Tuesday, February 11, 2003 9:03 AM >To: Forbeck, Doug (NIH/NCI) >Cc: R-help at stat.math.ethz.ch >Subject: Re: [R] Tcl/Tk support is not available on this system. > > >"Forbeck, Doug (NIH/NCI)" <forbeckd at mail.nih.gov> writes: > >> I am trying to get R to run on a Red Hat 8 system, I am running R >> version 1.6.2 with Tcl/Tk version 8.3.5 installed. When I >try to test >> R from the data_sets directory I get the error message; Error in >> firstlib(which.lib.loc, package) : >> Tcl/Tk support is not available on this system >> Error in fileBrowser(textToShow = "Choose one CDF file" , >nSelect = 1, : >> tcl/tk library not available >> Execution halted. >> >> Any help would be appreciated. > >8.3.5 is not stock RH8 is it? I have 8.3.3. > >My best guess is that something went wrong during the build of >R. Make sure that the configure process figures out where to >find the Tcl/Tck header files and libraries.Tcl/tk version 8.3.3-74 is indeed the current "official" version from RH for 8.0 and is what I have as well. No updates to that version are yet available via RHN, though updates are of course available from ActiveState to 8.3.5 and 8.4.1. Tcl/tk works fine on my system using R 1.6.2 installed from the RPM provided by Martyn Plummer on CRAN (http://cran.r-project.org/bin/linux/redhat/8.x/i386/R-1.6.2-1.i386.rp m) and tcl/tk installed from the RH DVD. I agree with Peter, sounds like a library location problem/conflict. Which came first? The build/install of R or the install/upgrade of tcl/tk? If you installed/upgraded the tcl package second, the path for the tcl libraries may not be the same as what was present when you first built/installed R, presuming that tcl was installed at that point. Regards, Marc Schwartz