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

From: hadley wickham <>
Date: Tue, 24 Jun 2008 14:06:06 +0200

On Tue, Jun 24, 2008 at 1:15 PM, Prof Brian Ripley <> wrote:
> On Tue, 24 Jun 2008, Richard Pearson wrote:
>> Wacek, many thanks! I'm wondering however whether this will be problematic
>> on Windows (I have no windows box to hand to check this, but am creating a
>> package that I would like to be cross-platform)?
> It will fail. But
> sink(tempfile())
> ...
> sink()
> is portable (and sink("nul:") works on Windows only).


tc <- textConnection(NULL, "w")





______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 24 Jun 2008 - 12:10:21 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 24 Jun 2008 - 13:31:16 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive