[R] Suppressing output (e.g. from cat)

Wacek Kusnierczyk Waclaw.Marcin.Kusnierczyk at idi.ntnu.no
Tue Jun 24 12:40:20 CEST 2008


Richard Pearson wrote:
> Is it possible to temporarily suspend output? I am using a function
> that gives lots of output using cat, that is not very informative. Is
> it possible to turn output off, run the function, then turn output
> back on again? I've looked at ?options and done various RSiteSearch()s
> but couldn't find a way to do this.
>

sink("/dev/null")

?sink

vQ



More information about the R-help mailing list