[Rd] unbuffered R CMD check results

From: Peter Cowan <cowan.pd_at_gmail.com>
Date: Mon, 04 Aug 2008 14:13:57 -0700

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.


R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 04 Aug 2008 - 21:20:18 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 05 Aug 2008 - 05:35:51 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive