[R] Output and history

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Jul 17 15:34:17 CEST 2002


"Liaw, Andy" <andy_liaw at merck.com> writes:

> > No. "<-" creates an invisible object as its return value and they
> > don't print until you "visiblify" them. One standard device is to put
> > the whole thing in parentheses: (a <- rep(1,10)).
> 
> But couldn't he use the taskCallbackManager() to print .Last.value after
> every evaluation at the top level?  I'd guess that sort of does what Daniel
> wants.

Might be, but wouldn't that result in visible things getting printed twice?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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