Marcelo,
If you have installed ActiveTcl with administrator priveliges,
it should create an entry in the Windows Registry, and then
limmaGUI should find it and automatically add the Tcl Path so
that limmaGUI can find Tktable and BWidget in C:\Tcl\lib\ or
wherever. But maybe it's getting confused between registry
entries for "all users" and registry entries for "just you".
You could try the following from the R prompt before you run
limmaGUI. If they work, you could even add them into your
.Rprofile so they run every time you start R.
Sys.putenv("TCL_LIBRARY"="C:/Tcl/lib")
Sys.putenv("MY_TCLTK"="Yes")
addTclPath("C:/Tcl/lib")
require(tcltk)
If you still get the warning about ActiveTcl, you may be able to
ignore and just start limmaGUI()
Let me know if this works.
If it doesn't work, please tell me what happens when you type:
require(tcltk)
tclvalue("auto_path")
Regards,
James
> Sys.putenv("TCL_LIBRARY"="C:/Tcl/lib")
> Sys.putenv("MY_TCLTK"="Yes")
> addTclPath("C:/Tcl/lib")
> require(tcltk)
Oops, the require(tcltk) was supposed to come before the
addTclPath. addTclPath is a function in the tcltk package.
James
James,
I install the ActiveTcl not with administrator account, but with my
account.
However, I have administratives privilegies! I have full control and I
am
the administrator of my computer.
When I type:
Sys.putenv("TCL_LIBRARY"="C:/Tcl/lib")
Sys.putenv("MY_TCLTK"="Yes")
addTclPath("C:/Tcl/lib")
require(tcltk)
in the R prompt, I still the warning message, but the limmaGUI start
very
good. yeeeahhh!
I exit from R and restart it.
When I type require(tcltk), it is the result:
> require(tcltk)
Loading required package: tcltk
[1] TRUE
When I type tclvalue("auto_path"), it is the result:
> tclvalue("auto_path")
[1] "{C:\\PROGRA~1\\R\\rw1071/Tcl/lib/tcl8.4}
C:/PROGRA~1/R/rw1071/Tcl/lib
./lib C:/PROGRA~1/R/rw1071/Tcl/lib/tk8.4
C:/PROGRA~1/R/rw1071/library/tcltk/exec"
Does the second result seem to indicate that the path for the dir of
the
ActivTcl is wrong in the registry or in R. Correct?
Do you know which is the key in the registry for the ActivTcl? I can
alter
it with safety.
Thanks very good!
Marcelo
-----Original Message-----
From: James Wettenhall [mailto:wettenhall@wehi.edu.au]
Sent: quinta-feira, 16 de outubro de 2003 20:28
To: mlaia@fcav.unesp.br
Cc: bioconductor@stat.math.ethz.ch
Subject: RE: [BioC] limmaGUI: Warning: ActiveTcl could not be found...
Marcelo,
If you have installed ActiveTcl with administrator priveliges,
it should create an entry in the Windows Registry, and then
limmaGUI should find it and automatically add the Tcl Path so
that limmaGUI can find Tktable and BWidget in C:\Tcl\lib\ or
wherever. But maybe it's getting confused between registry
entries for "all users" and registry entries for "just you".
You could try the following from the R prompt before you run
limmaGUI. If they work, you could even add them into your
.Rprofile so they run every time you start R.
Sys.putenv("TCL_LIBRARY"="C:/Tcl/lib")
Sys.putenv("MY_TCLTK"="Yes")
addTclPath("C:/Tcl/lib")
require(tcltk)
If you still get the warning about ActiveTcl, you may be able to
ignore and just start limmaGUI()
Let me know if this works.
If it doesn't work, please tell me what happens when you type:
require(tcltk)
tclvalue("auto_path")
Regards,
James
---
Incoming mail is certified Virus Free.
---