limmaGUI: Warning: ActiveTcl could not be found...
2
0
Entering edit mode
@james-wettenhall-153
Last seen 9.6 years ago
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
limmaGUI limmaGUI • 1.1k views
ADD COMMENT
0
Entering edit mode
@james-wettenhall-153
Last seen 9.6 years ago
> 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
ADD COMMENT
0
Entering edit mode
@marcelo-luiz-de-laia-377
Last seen 9.6 years ago
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. ---
ADD COMMENT

Login before adding your answer.

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