Displaying 1 result from an estimated 1 matches for "quadrieren".
2010 Aug 11
0
R and TK Error "can't find objects"
...llowing one it?s working (see the
initiation of the variables, the handler and the link to the function
which multiply Zahl, Exponent and Factor) :
require(tcltk)
Ergebnis<-tclVar(c(0,0,0,0,0,0))
Zahl<-tclVar(c(0,0,1,1,1,0))
Exponent<-tclVar(c(1,1,1,1,1,1))
Factor<-tclVar(2)
handler.Quadrieren<-function() {
tkconfigure(e,
textvariable=tclVar(test2(as.numeric(tclObj(Zahl)),as.numeric(tclObj(Exp
onent)),as.numeric(tclvalue(Faktor)))))
}
test2 <- local({source("C:/.../Tk_einfach.R", local = TRUE)
environment(Quadrieren) <- .GlobalEnv
Quadrieren })
No...