Displaying 4 results from an estimated 4 matches for "rtcl1".
Did you mean:
rtc1
2010 Aug 12
2
accessing tcl variables within R and tcl
...lObj(letters[1:5])
> tcl('set',a) # output list
However
> tcl('test',a) # does not work as expected, returns the variable name
Why not? In fact, how do get the name of the "a" list in tcl (something
like RTcl...) so I could use it as follows
> .Tcl('test $RTcl1') #works
Loops are much quicker in tcl than in R, hence I try to do some
computations in tcl and not via wrapper function in R. I therefore need
a way to easily access tcl variables from within R and tcl.
Thanks for any help,
Adrian Waddell
2005 Aug 23
2
Using tcltk to display jpeg images
Dear R Helpers,
Does anyone know how to use tcltk to display jpeg images? The manual says
that
one must use Tk_PhotoCreateImageFormat to register the jpeg image handler.
The
"ActiveTcl User Guide"
(http://support.serv.ch/lang/tcl/img/doc/img-jpeg.html)
says:-
"The package img::jpeg is a sub-package of Img. It can be loaded as a part
of the complete
Img support, via package require
2003 Oct 01
0
curious error with tkcheckbutton
...ay:
[1] "1"
Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class
= "tclObj") :
[tcl] can't read "::RTcl2": no such variable.
when six variables tcl has been created in the array b and they exist:
> b
[1] "::RTcl1" "::RTcl2" "::RTcl3" "::RTcl4" "::RTcl5" "::RTcl6"
the script is(I'm use R 1.7.1 for win, the fail is in the first execution
of the script):
library(tcltk)
tt<-tktoplevel()
f<-tkframe(tt)
tkpack(f)
j<-6
nbre<-c("c1",...
2003 Oct 09
0
curious mistake in tkradiobutton
...ay:
[1] "1"
Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class
= "tclObj") :
[tcl] can't read "::RTcl2": no such variable.
when six variables tcl has been created in the array b and they exist:
> b
[1] "::RTcl1" "::RTcl2" "::RTcl3" "::RTcl4" "::RTcl5" "::RTcl6"
the script is(I'm use R 1.7.1 for win):
library(tcltk)
tt<-tktoplevel()
f<-tkframe(tt)
tkpack(f)
j<-6
nbre<-c("c1","c2","c3","c4","...