[R] Turning of source echo

Berend Hasselman bhh at xs4all.nl
Sat Aug 25 21:42:20 CEST 2012


On 25-08-2012, at 21:31, Noia Raindrops wrote:

> Sorry,
> 
> How about this?
> 
> 
> invisible(capture.output(source(...)))
> 

Makes all output invisible.

> # or
> sink("/dev/null")
> source(...)
> sink()
> 
Doesn't seem to do what is desired. The line with source still appears.

In future would you please show the context of a post you are replying to?

Berend




More information about the R-help mailing list