[R] How top print intermediate values from inside a function?
Ravi Varadhan
rvaradha at jhsph.edu
Tue Nov 26 16:59:46 CET 2002
Dear R-group:
I would like to thank Peter Dalgaard and James Holtman for their help.
After turning the "buffered output" option off under the "Misc" menu
(in Windows), the results were displayed immediately.
thanks very much,
Ravi.
----- Original Message -----
From: Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk>
Date: Monday, November 25, 2002 7:12 pm
Subject: Re: [R] How top print intermediate values from inside a
function?
> Ravi Varadhan <rvaradha at jhsph.edu> writes:
>
> > Hi:
> >
> > I tried both "print(mh.new)" and "cat(mh.new)", but the results
> are
> > displayed only after all the computations inside the function
> are
> > completed. Is there a way to display the intermediate variable
> > immediately after it is evaluated?
>
> Windows, right? There's a checkbox for "buffered output" or something
> like that in the menus. Uncheck it.
>
> --
> 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