[Rd] Unified naming for R<system>_tmpnam possible?

Prof Brian D Ripley ripley@stats.ox.ac.uk
Fri, 1 Jun 2001 20:25:03 +0100 (BST)

On Fri, 1 Jun 2001, Thomas Hoffmann wrote:

> What is the reason that the system specific files (sys-unix.c et.al.) all define a specific
> name for building tmpfile?


> In main/devPS.c then there is an #ifdef sequence which calls depending on the
> system defined the respective function.
> Wouldn't it be better just to have one function R_tmpnam(), which is implemented
> system dependent in the sys-<system>.c files?

Yes, now there is a Macintosh maintainer that had occurred to some of us.

However, as this is not part of the R API, I don't see this is of any
interest except to R-core, and changing things that work is not a high

Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch