Ravi Varadhan and I have been looking at UCMINF to try to identify why it gives occasional (but not reproducible) errors, seemingly on Windows only. There is some suspicion that its use of DBLEPR for finessing the Fortran WRITE() statements may be to blame. While I can find DBLEPR in Venables and Ripley, it doesn't get much mention after about 2000 in the archives, though it is in the R FAQ and Brian R. mentions they are in libR in a 2009 post. Are the xxxPR routines now deprecated (particularly for 64 bit systems) or still OK to use? If OK, can anyone point to documentation and examples? JN
DBLEPR?
2 messages · John C Nash, Berwin A Turlach
G'day John, On Tue, 16 Nov 2010 14:02:57 -0500
"Prof. John C Nash" <nashjc at uottawa.ca> wrote:
Are the xxxPR routines now deprecated (particularly for 64 bit systems) or still OK to use?
They are still OK to use, and I use them occasionally.
If OK, can anyone point to documentation and examples?
Section 6.5.1 "Printing from Fortran" in the "Writing R Extensions" manual has documentation (but no examples). Luckily, Section 5.7 "Fortran I/O", the section that I always look at first, has a link to Section 6.5.1. :) Cheers, Berwin ========================== Full address ============================ Berwin A Turlach Tel.: +61 (8) 6488 3338 (secr) School of Maths and Stats (M019) +61 (8) 6488 3383 (self) The University of Western Australia FAX : +61 (8) 6488 1028 35 Stirling Highway Crawley WA 6009 e-mail: berwin at maths.uwa.edu.au Australia http://www.maths.uwa.edu.au/~berwin