From cowan.pd at gmail.com  Mon Aug  4 23:13:57 2008
From: cowan.pd at gmail.com (Peter Cowan)
Date: Mon, 4 Aug 2008 14:13:57 -0700
Subject: [Rd] unbuffered R CMD check results
Message-ID: <e1fc21b0808041413p32a4b649h3f880e10ce325a03@mail.gmail.com>

Hello all,

I'm attempting to write a TextMate command that runs R CMD check and
returns the results in an HTML window (I have confirmed with the
TextMate devloper that this window will take unbuffered content).  It
appears that when stdout is not a tty R CMD check and INSTALL buffer
results.  When my python script is run from a terminal I get results
unbuffered.  Is it possible to get unbuffered output to other stdouts?

I took a look at the docs for check.conf, and didn't see a
configuration options.  Skimming the perl source code, (caveat, I'm
not familiar with perl) I see:

## Don't buffer output.
$| = 1;

So perhaps I'm barking up the wrong tree.  Suggestions are welcome.

Peter



[Rd] unbuffered R CMD check results
Peter Cowan