Skip to content
Prev 25679 / 398502 Next

How top print intermediate values from inside a function?

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?

thanks again,
Ravi.

----- Original Message -----
From: rossini at blindglobe.net (A.J. Rossini)
Date: Monday, November 25, 2002 5:15 pm
Subject: Re: [R] How top print intermediate values from inside a 
function?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._