Displaying 1 result from an estimated 1 matches for "berechnung_funkt".
2010 Aug 05
1
Error in as.environment(pos): using 'as.environment(NULL)' is defunct
...n be changed by a tkentry-element.
handler.Berechnung<-function() {
tkconfigure(Ergebnisfenster,
textvariable=tclVar(test2(as.numeric(tclObj(VKG)),as.numeric(tclObj(HZ))
,as.numeric(tclObj(VZ)),as.numeric(tclObj(Aktivit?t)),as.numeric(tclObj(
tclArray1)))))
}
test2 <- local({source("C:/Berechnung_Funktion.R", local = TRUE)
environment(Berechnung) <- .GlobalEnv
Berechnung })
and:
Button<-tkframe(InputOutputfenster)
tkpack(Button, side='top')
tkpack(tkbutton(Button, text='compute optimal
solution',command=handler.Berechnung))
and the function in the other R-file:
Berech...