problems with tcltk library
2
0
Entering edit mode
Shi, Tao ▴ 70
@shi-tao-46
Last seen 9.7 years ago
--0-1804860174-1024596890=:10982 Content-Type: text/plain; charset=us-ascii I just downloaded the bioconductor package, but when I was trying to run it, I couldn't load the tcltk library. The error messages as shown below. I'm using R 1.50 and running it in Windows XP professional. Many thanks ...Tao > library(tcltk) Error in firstlib(which.lib.loc, package) : TCL_LIBRARY is not set Error in library(tcltk) : .First.lib failed > ReadAffy(widget=T) Loading required package: tcltk Error in firstlib(which.lib.loc, package) : TCL_LIBRARY is not set Error in fileBrowser(textToShow = "Choose one CDF file", nSelect = 1, : tcl/tk library not available --------------------------------- Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup --0-1804860174-1024596890=:10982 Content-Type: text/html; charset=us-ascii

I just downloaded the bioconductor package, but when I was trying to run it, I couldn't load the tcltk library.  The error messages as shown below.  I'm using R 1.50 and running it in Windows XP professional.

Many thanks

...Tao

 

> library(tcltk)
Error in firstlib(which.lib.loc, package) :
        TCL_LIBRARY is not set
Error in library(tcltk) : .First.lib failed
> ReadAffy(widget=T)
Loading required package: tcltk
Error in firstlib(which.lib.loc, package) :
        TCL_LIBRARY is not set
Error in fileBrowser(textToShow = "Choose one CDF file", nSelect = 1,  :
        tcl/tk library not available



Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup --0-1804860174-1024596890=:10982--
cdf cdf • 1.9k views
ADD COMMENT
0
Entering edit mode
John Zhang ★ 2.9k
@john-zhang-6
Last seen 9.7 years ago
>From: "Shi, Tao" <shidaxia@yahoo.com> >To: bioconductor@stat.math.ethz.ch >MIME-Version: 1.0 >Subject: [BioC] problems with tcltk library >X-BeenThere: bioconductor@stat.math.ethz.ch >X-Mailman-Version: 2.0.11 >List-Help: <mailto:bioconductor- request@stat.math.ethz.ch?subject="help"> >List-Post: <mailto:bioconductor@stat.math.ethz.ch> >List-Subscribe: <http: www.stat.math.ethz.ch="" mailman="" listinfo="" bioconductor="">, <mailto:bioconductor-request@stat.math.ethz.ch?subject=subscribe> >List-Id: The Bioconductor Project Mailing List <bioconductor.stat.math.ethz.ch> >List-Unsubscribe: <http: www.stat.math.ethz.ch="" mailman="" listinfo="" bioconductor="">, <mailto:bioconductor-request@stat.math.ethz.ch?subject=unsubscribe> >List-Archive: <http: www.stat.math.ethz.ch="" pipermail="" bioconductor=""/> >Date: Thu, 20 Jun 2002 11:14:50 -0700 (PDT) > > >I just downloaded the bioconductor package, but when I was trying to run it, I couldn't load the tcltk library. The error messages as shown below. I'm using R 1.50 and running it in Windows XP professional. Do you have the tcl/tk library (not R tcltk) installed? If not, get one from www.tcl.tk/software/tcltk install it, and try again. > >Many thanks > >...Tao > > > >> library(tcltk) >Error in firstlib(which.lib.loc, package) : > TCL_LIBRARY is not set >Error in library(tcltk) : .First.lib failed >> ReadAffy(widget=T) >Loading required package: tcltk >Error in firstlib(which.lib.loc, package) : > TCL_LIBRARY is not set >Error in fileBrowser(textToShow = "Choose one CDF file", nSelect = 1, : > tcl/tk library not available > > > > >--------------------------------- >Do You Yahoo!? >Sign-up for Video Highlights of 2002 FIFA World Cup
ADD COMMENT
0
Entering edit mode
--0-1956038225-1024616841=:58064 Content-Type: text/plain; charset=us-ascii I just downloaded and installed the ActiveTcl 8.3.4.2. But, it's still not working. When I was trying to include library(tcltk), I got the same error message. > library(tcltk) Error in firstlib(which.lib.loc, package) : TCL_LIBRARY is not set Error in library(tcltk) : .First.lib failed ...Tao John Zhang wrote: >From: "Shi, Tao" >To: bioconductor@stat.math.ethz.ch >MIME-Version: 1.0 >Subject: [BioC] problems with tcltk library >X-BeenThere: bioconductor@stat.math.ethz.ch >X-Mailman-Version: 2.0.11 >List-Help: >List-Post: >List-Subscribe: , >List-Id: The Bioconductor Project Mailing List >List-Unsubscribe: , >List-Archive: >Date: Thu, 20 Jun 2002 11:14:50 -0700 (PDT) > > >I just downloaded the bioconductor package, but when I was trying to run it, I couldn't load the tcltk library. The error messages as shown below. I'm using R 1.50 and running it in Windows XP professional. Do you have the tcl/tk library (not R tcltk) installed? If not, get one from www.tcl.tk/software/tcltk install it, and try again. > >Many thanks > >...Tao > > > >> library(tcltk) >Error in firstlib(which.lib.loc, package) : > TCL_LIBRARY is not set >Error in library(tcltk) : .First.lib failed >> ReadAffy(widget=T) >Loading required package: tcltk >Error in firstlib(which.lib.loc, package) : > TCL_LIBRARY is not set >Error in fileBrowser(textToShow = "Choose one CDF file", nSelect = 1, : > tcl/tk library not available > > > > >--------------------------------- >Do You Yahoo!? >Sign-up for Video Highlights of 2002 FIFA World Cup --------------------------------- Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup --0-1956038225-1024616841=:58064 Content-Type: text/html; charset=us-ascii

I just downloaded and installed the ActiveTcl 8.3.4.2.  But, it's still not working.  When I was trying to include library(tcltk), I got the same error message.

> library(tcltk)
Error in firstlib(which.lib.loc, package) :
        TCL_LIBRARY is not set
Error in library(tcltk) : .First.lib failed

...Tao

 John Zhang <jzhang@jimmy.harvard.edu>wrote:


>From: "Shi, Tao" <shidaxia@yahoo.com>
>To: bioconductor@stat.math.ethz.ch
> ;MIME-Version: 1.0
>Subject: [BioC] problems with tcltk library
>X-BeenThere: bioconductor@stat.math.ethz.ch
>X -Mailman-Version: 2.0.11
>List-Help: <mailto:bioconductor- request@stat.math.ethz.ch?subject="help">
>List-Post: <mailto:bioconductor@stat.math.ethz.ch>
>List-Subscribe: <http: bioconductor="" listinfo="" mailman="" www.stat.math.ethz.ch="">,
<mailto :bioconductor-request@stat.math.ethz.ch?subject="subscribe">
> ;List-Id: The Bioconductor Project Mailing List <bioconductor.stat.math.ethz.ch>
>List-Unsubscribe: <http: bioconductor="" listinfo="" mailman="" www.stat.math.ethz.ch="">,
<mailto :bioconductor-request@stat.math.ethz.ch?subject="unsubscribe">
> ;List-Archive: <http: bioconductor="" www.stat.math.ethz.ch="" pipermail=""/>
>Date: Thu, 20 Jun 2002 11:14:50 -0700 (PDT)
>
>
>I just downloaded the bioconductor package, but when I was trying to run it, I
couldn't load the tcltk library. The error messages as shown below. I'm using
R 1.50 and running it in Windows XP professional.

Do you have the tcl/tk library (not R tcltk) installed? If not, get one from
www.tcl.tk/software/tcltk install it, and try again.

>
>Many thanks
>
>...Tao
>
>
>
>> library(tcltk)
>Error in firstlib(which.lib.loc, package) :
> TCL_LIBRARY is not set
>Error in library(tcltk) : .First.lib failed
>> ReadAffy(widget=T)
>Loading required package: tcltk
>Error in firstlib(which.lib.loc, package) :
> TCL_LIBRARY is not set
>Error in fileBrowser(textToShow = "Choose one CDF file", nSelect = 1, :
> tcl/tk library not available
>
>
>
>< BR>>---------------------------------
>Do You Yahoo!?
> ;Sign-up for Video Highlights of 2002 FIFA World Cup
</mailto:bioconductor-></mailto:bioconductor-re></mailto:bioconductor@stat.m></mailto:bioconductor->



Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup --0-1956038225-1024616841=:58064--
ADD REPLY
0
Entering edit mode
> I just downloaded and installed the ActiveTcl 8.3.4.2. But, it's still not working. When I was trying to include library(tcltk), I got the same error message. > > library(tcltk) > Error in firstlib(which.lib.loc, package) : > TCL_LIBRARY is not set > Error in library(tcltk) : .First.lib failed Just a guess, but something that might help - it looks like it wants an environment variable TCL_LIBRARY. I have no idea how to set environment variables in Windows, but you might want to try setting one named TCL_LIBRARY and pointing it to where your TCL is installed. -J
ADD REPLY
0
Entering edit mode
This is USUALLY set by ActiveTcl...However, if you have Ruby installed this will be all screwed up (I found this out the hard way). You can set the environment variable youself in under Win2K/XP by going to the System control panel and selecting the Advanced tab. There should be a button labeled 'Environment Variables' where you can either set or modify TCL_LIBRARY to the appropriate path. Byron Ellis (bellis@hsph.harvard.edu) "Oook" - The Librarian Please finger bellis@hsph.harvard.edu for PGP keys On Fri, 21 Jun 2002, Jeff Gentry wrote: > > I just downloaded and installed the ActiveTcl 8.3.4.2. But, it's still not working. When I was trying to include library(tcltk), I got the same error message. > > > library(tcltk) > > Error in firstlib(which.lib.loc, package) : > > TCL_LIBRARY is not set > > Error in library(tcltk) : .First.lib failed > > Just a guess, but something that might help - it looks like it wants an > environment variable TCL_LIBRARY. I have no idea how to set environment > variables in Windows, but you might want to try setting one named > TCL_LIBRARY and pointing it to where your TCL is installed. > > -J > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > http://www.stat.math.ethz.ch/mailman/listinfo/bioconductor >
ADD REPLY
0
Entering edit mode
Shi, Tao ▴ 70
@shi-tao-46
Last seen 9.7 years ago
This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C21DC4.DD3E2C30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Byron: Thank you for pointing this out for me! I have checked the Enviroment Variables on my computer following your = instruction and I found there is one variable called "Path" and its = value is "C:\Tcl\bin;C:\Program Files\Microsoft Visual = Studio\Common\Tools;C:\Program Files\Microsoft Visual = Studio\Common\Msdev98\BIN;C:\Program Files\Microsoft Visual = Studio\DF98\BIN;C:\Prog........... ". I cheked the first one = "C:\Tcl\bin;" is the correct path for TCL. So, should I set another = variable called "TCL_LIBRARY" pointing to the same path? I'm kind of = reluctant to change the default system setting.......... ...Tao This is USUALLY set by ActiveTcl...However, if you have Ruby installed this will be all screwed up (I found this out the hard way). You can set the environment variable youself in under Win2K/XP by going to the = System control panel and selecting the Advanced tab. There should be a button labeled 'Environment Variables' where you can either set or modify TCL_LIBRARY to the appropriate path. Byron Ellis (bellis@hsph.harvard.edu) "Oook" - The Librarian Please finger bellis@hsph.harvard.edu for PGP keys On Fri, 21 Jun 2002, Jeff Gentry wrote: > > I just downloaded and installed the ActiveTcl 8.3.4.2. But, it's = still not working. When I was trying to include library(tcltk), I got = the same error message. > > > library(tcltk) > > Error in firstlib(which.lib.loc, package) :=20 > > TCL_LIBRARY is not set > > Error in library(tcltk) : .First.lib failed >=20 > Just a guess, but something that might help - it looks like it wants = an > environment variable TCL_LIBRARY. I have no idea how to set = environment > variables in Windows, but you might want to try setting one named > TCL_LIBRARY and pointing it to where your TCL is installed. >=20 > -J >=20 > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > http://www.stat.math.ethz.ch/mailman/listinfo/bioconductor >=20 ------=_NextPart_000_0005_01C21DC4.DD3E2C30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html><head> <meta http-equiv="3DContent-Type" content="3D" text="" html;"="=""" charset="3Diso-8859-1" "=""> <meta content="3D" MSHTML"="" 6.00.2716.2200"="" name="3DGENERATOR"> <style></style> </head> <body bgcolor="3D#ffffff">
<font face="3DArial">Hi, Byron:</font>
<font face="3DArial" size="3D2"></font> 
<font face="3DArial" size="3D2">Thank you for pointing this out for=20 me!</font>
<font face="3DArial" size="3D2"></font> 
<font face="3DArial" size="3D2">I have checked the Enviroment Variables = on my=20 computer following your instruction and I found there is one variable = called=20 "Path" and its value is "C:\Tcl\bin;C:\Program Files\Microsoft Visual=20 Studio\Common\Tools;C:\Program Files\Microsoft Visual=20 Studio\Common\Msdev98\BIN;C:\Program Files\Microsoft Visual=20 Studio\DF98\BIN;C:\Prog........... ".    = I cheked the=20 first one "C:\Tcl\bin;" is the correct path for TCL.  = So, should=20 I set another variable called "TCL_LIBRARY" pointing to the same=20 path?  I'm kind of reluctant to change the default system=20 setting..........</font>
<font face="3DArial" size="3D2"></font> 
<font face="3DArial" size="3D2">...Tao</font>
<font face="3DArial"></font> 
<font face="3DArial"></font> 
<font face="3DArial"></font> 
<font face="3DArial">This is USUALLY set by ActiveTcl...However, if = you have=20 Ruby installed
this will be all screwed up (I found this out the hard = way).=20 You can set
the environment variable youself in under Win2K/XP by = going to=20 the System
control panel and selecting the Advanced tab. There should = be a=20 button
labeled 'Environment Variables' where you can either set or=20 modify
TCL_LIBRARY to the appropriate path.

Byron Ellis (<a=20 href="3D"mailto:bellis@hsph.harvard.edu"">bellis@hsph.harvard.edu)"= Oook" -=20 The Librarian

Please finger <a=20 href="3D"mailto:bellis@hsph.harvard.edu"">bellis@hsph.harvard.edu for = PGP=20 keys

On Fri, 21 Jun 2002, Jeff Gentry wrote:

> > = I just=20 downloaded and installed the ActiveTcl 8.3.4.2.  But, it's still = not=20 working.  When I was trying to include library(tcltk), I got the = same error=20 message.
> > > library(tcltk)
> > = Error in=20 firstlib(which.lib.loc, package) :
>=20 >         TCL_LIBRARY is not=20 set
> > Error in library(tcltk) : .First.lib=20 failed
>
> Just a guess, but something that = might=20 help - it looks like it wants an
> environment variable=20 TCL_LIBRARY.  I have no idea how to set environment
>=20 variables in Windows, but you might want to try setting one = named
>=20 TCL_LIBRARY and pointing it to where your TCL is = installed.
>=20
> -J
>
>=20 _______________________________________________
> = Bioconductor=20 mailing list
> <a=20 href="3D"mailto:Bioconductor@stat.math.ethz.ch"">Bioconductor@stat.math. eth= z.ch
>=20 <a=20 href="3D" <a="" href="&lt;a href=" http:="" www.stat.math.ethz.ch="" mailman="" listinfo="" bioconductor"="" rel="nofollow">http://www.stat.math.ethz.ch/mailman/listinfo/bioconductor" rel="nofollow">http://www.stat.math.ethz.ch/mailman/listinfo/bioconductor"">ht tp:= //www.stat.math.ethz.ch/mailman/listinfo/bioconductor
>< I> =
</font></body></html> ------=_NextPart_000_0005_01C21DC4.DD3E2C30--
ADD COMMENT

Login before adding your answer.

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