[R] Suppress intermediate results on console

Lisa lisajca at gmail.com
Thu May 26 20:30:46 CEST 2011


Dear all,

I have a question about how to suppress intermediate results in a function
on console. For example, I will use summary() in my own function that looks
like:

myfunction <- function(…)
{
  …
  Summary(x)
  …
}

Then myfunction() will print “x” on console that is intermediate result and
doesn’t need showing. 

Does someone have any idea or any suggestion? Thank you in advance.

Lisa


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



More information about the R-help mailing list