[R] Suppress intermediate results on console

David Winsemius dwinsemius at comcast.net
Fri May 27 14:38:08 CEST 2011


On May 26, 2011, at 3:23 PM, Lisa wrote:

> Thanks for your comments and suggestion. I didn’t show all my own  
> function
> here because it has many lines. “x” is the results of another  
> function. I am
> calling summary because I want to extract some values from the  
> results.

Some of the summary functions use cat() which creates a side-effect  
that may be difficult to intercept. There is a capture.output  
function. Untested in the absence of a reproducible example.

>
> --
> View this message in context: http://r.789695.n4.nabble.com/Suppress-intermediate-results-on-console-tp3553276p3553405.html
> Sent from the R help mailing list archive at Nabble.com.


-- 
David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list