From ripley@stats.ox.ac.uk  Fri Jun  1 20:25:03 2001
From: ripley@stats.ox.ac.uk (Prof Brian D Ripley)
Date: Fri, 1 Jun 2001 20:25:03 +0100 (BST)
Subject: [Rd] Unified naming for R<system>_tmpnam possible?
In-Reply-To: <3b17e6bf.thoffman.zappa@zappa.sax.de>
Message-ID: <Pine.GSO.4.31.0106012022120.5279-100000@auk.stats>

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?

History.

> 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
priority.

-- 
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Unified naming for R<system>_tmpnam possible?
Prof Brian D Ripley