Skip to content

Unified naming for R<system>_tmpnam possible?

2 messages · Thomas Hoffmann", Brian Ripley

#
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?




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Fri, 1 Jun 2001, Thomas Hoffmann wrote:

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