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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian D Ripley
2001-Jun-01 19:25 UTC
[Rd] Unified naming for R<system>_tmpnam possible?
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Possibly Parallel Threads
- Dokumentation bug in src/include/Graphics.h (R-1.3.0) (PR#994)
- Autoconf / Windows package building problem for device package
- [Patch suggestion] Adding 3rd arg to tempfile() to set extension
- Postscript device ignores title if it is too long. (PR#565)
- Postscript font bugs (and a suggestion) (PR#914)