Re: [Rd] Replacements for stdout and stderr guaranteed to be open in all versions of R

2012-05-12 Thread Duncan Murdoch
On 12-05-12 5:40 PM, David Sterratt wrote: On Fri, 2012-05-11 at 18:36 -0400, Duncan Murdoch wrote: On 12-05-11 5:36 PM, David Sterratt wrote: Looking at http://svn.r-project.org/R/trunk/src/gnuwin32/system.c it would appear that R_Consolefile and R_Outputfile only point to open files when Char

Re: [Rd] Replacements for stdout and stderr guaranteed to be open in all versions of R

2012-05-12 Thread David Sterratt
On Fri, 2012-05-11 at 18:36 -0400, Duncan Murdoch wrote: > On 12-05-11 5:36 PM, David Sterratt wrote: > > Looking at > > http://svn.r-project.org/R/trunk/src/gnuwin32/system.c > > it would appear that R_Consolefile and R_Outputfile only point to open > > files when CharacterMode == RTerm, not in GU

Re: [Rd] Replacements for stdout and stderr guaranteed to be open in all versions of R

2012-05-11 Thread Duncan Murdoch
On 12-05-11 5:36 PM, David Sterratt wrote: I maintain the geometry package, which integrates the Qhull C library (http://qhull.org) into R. The Qhull function I hook into requires an open FILE handle as one of its arguments. I had set this file handle to stdout, but now R check NOTEs the presence

[Rd] Replacements for stdout and stderr guaranteed to be open in all versions of R

2012-05-11 Thread David Sterratt
I maintain the geometry package, which integrates the Qhull C library (http://qhull.org) into R. The Qhull function I hook into requires an open FILE handle as one of its arguments. I had set this file handle to stdout, but now R check NOTEs the presence of stdout, and the CRAN maintainers asked me