About Tcl/Tk after command in R
Dear R-helpers, I have a problem with the tcl "after" instruction. When I send:
library(tcltk)
Loading Tcl/Tk interface ... done
tcl("after",1000,cat("try tcl after\n"))
try tcl after <Tcl> the tcl command works fine. Similarly, the tcl command:
tcl("after",1000,plot(rnorm(100)))
<Tcl> works fine. But, if I send the command:
tcl("after",1000,10^2)
<Tcl> after#0 appears a popup window which reports: Error: invalid command name ?100? Why? Davide Massidda Universit? di Padova Dipartimento di Psicologia Generale Via Venezia, 8 - 35131 Padova - Italy QPLab http://qplab.psy.unipd.it/ tel. +39 049 8276905