[R] Argument visible of addTaskCallback
Eric Lecoutre
lecoutre at stat.ucl.ac.be
Thu Jun 20 15:03:27 CEST 2002
Hello,
I have a question about addTaskCallback
It is said that the argument visible allows to know wether the result of
the top-level evaluation was printed or not.
Nevertheless, in the following example, I encountered a problem, as it
seems not all printed objects are visible...
Could someone tell me where is the tip?
TIA
-----------------------------------------------------------------------------
SimpleTask <- function() {
function(expr,value,ok,visible){
print(visible)
return(TRUE) } }
> addTaskCallback(SimpleTask())
> x<-rnorm(10)
[ Visible= FALSE]
> x
[ Visible= TRUE]
> summary(x)
[ Visible= FALSE] !!
-----------------------------------------------------------------------------
Eric Lecoutre
×------------------------×------------------------------------------------×
| Eric Lecoutre | Statistics |
| Voie du Roman Pays, 20 | Teaching assistant / Consultant |
| 1348 Louvain-La-Neuve | Université de Louvain-la-Neuve |
| Belgique | lecoutre at stat.ucl.ac.be |
| (+32) (0)10 47 30 50 | http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/|
×------------------------×------------------------------------------------×
| We need statistical thinking, not rituals - Gigerenzer |
×-------------------------------------------------------------------------×
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list