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 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.