[BioC] problems with tcltk library

Tao Shi shitao@ucla.edu
Thu, 27 Jun 2002 10:24:48 -0700


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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<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>
<DIV><FONT face=3DArial>Hi, Byron:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thank you for pointing this out for=20
me!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><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........... ".&nbsp;&nbsp;&nbsp; =
I&nbsp;cheked&nbsp;the=20
first one "C:\Tcl\bin;" is the correct path&nbsp;for TCL.&nbsp; =
So,&nbsp;should=20
I set another variable&nbsp;called "TCL_LIBRARY" pointing to the same=20
path?&nbsp; I'm kind of reluctant to change the default system=20
setting..........</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>...Tao</FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial>This is USUALLY set by ActiveTcl...However, if =
you have=20
Ruby installed<BR>this will be all screwed up (I found this out the hard =
way).=20
You can set<BR>the environment variable youself in under Win2K/XP by =
going to=20
the System<BR>control panel and selecting the Advanced tab. There should =
be a=20
button<BR>labeled 'Environment Variables' where you can either set or=20
modify<BR>TCL_LIBRARY to the appropriate path.<BR><BR>Byron Ellis (<A=20
href=3D"mailto:bellis@hsph.harvard.edu">bellis@hsph.harvard.edu</A>)<BR>"=
Oook" -=20
The Librarian<BR><BR>Please finger <A=20
href=3D"mailto:bellis@hsph.harvard.edu">bellis@hsph.harvard.edu</A> for =
PGP=20
keys<BR><BR>On Fri, 21 Jun 2002, Jeff Gentry wrote:<BR><BR>&gt;<I> &gt; =
I just=20
downloaded and installed the ActiveTcl 8.3.4.2.&nbsp; But, it's still =
not=20
working.&nbsp; When I was trying to include library(tcltk), I got the =
same error=20
message.<BR></I>&gt;<I> &gt; &gt; library(tcltk)<BR></I>&gt;<I> &gt; =
Error in=20
firstlib(which.lib.loc, package) : <BR></I>&gt;<I>=20
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TCL_LIBRARY is not=20
set<BR></I>&gt;<I> &gt; Error in library(tcltk) : .First.lib=20
failed<BR></I>&gt;<I> <BR></I>&gt;<I> Just a guess, but something that =
might=20
help - it looks like it wants an<BR></I>&gt;<I> environment variable=20
TCL_LIBRARY.&nbsp; I have no idea how to set environment<BR></I>&gt;<I>=20
variables in Windows, but you might want to try setting one =
named<BR></I>&gt;<I>=20
TCL_LIBRARY and pointing it to where your TCL is =
installed.<BR></I>&gt;<I>=20
<BR></I>&gt;<I> -J<BR></I>&gt;<I> <BR></I>&gt;<I>=20
_______________________________________________<BR></I>&gt;<I> =
Bioconductor=20
mailing list<BR></I>&gt;<I> <A=20
href=3D"mailto:Bioconductor@stat.math.ethz.ch">Bioconductor@stat.math.eth=
z.ch</A><BR></I>&gt;<I>=20
<A=20
href=3D"http://www.stat.math.ethz.ch/mailman/listinfo/bioconductor">http:=
//www.stat.math.ethz.ch/mailman/listinfo/bioconductor</A><BR></I>&gt;<I> =

<BR></DIV></I></FONT></BODY></HTML>

------=_NextPart_000_0005_01C21DC4.DD3E2C30--