On Sep 24, 2012, at 10:27 , vincent guyader wrote:
> Hi everyone,
>
> I have a problem to assign a value with tcl/tk
Not really. You'll get into the same sort of trouble if you try other kinds of
complex assignments:
> a <- 1:2
> eval(as.name("a"))[[1]]
[1] 1
> eval(as.name("a"))[[1]] <- 3
Er
Hi everyone,
I have a problem to assign a value with tcl/tk
ths is the code ( it should be simple to understand) :
library(tcltk)
valA<-tclVar("0")
valB<-tclVar("0")
valC<-tclVar("0")
id<-"A"
out<-"1"
out2<-"2"
print(paste("tclvalue(val",id,")",sep="")) # ok
print(as.name(paste("tclvalue(val",
2 matches
Mail list logo