Re: [Rd] Overriding InitTempDir

2006-09-01 Thread Jeffrey Horner
Prof Brian Ripley wrote: > It is conventional for people proposing changes to R to set out a > compelling case as to why they are needed. I have not seen any case here. > Can we please have one? Here's the case for RApache: An Apache server built with the prefork multi-processing module creates

Re: [Rd] Overriding InitTempDir

2006-09-01 Thread Prof Brian Ripley
It is conventional for people proposing changes to R to set out a compelling case as to why they are needed. I have not seen any case here. Can we please have one? Someone will have to think through the ramifications of such a change (and BTW using edit() in an R console is not at all unlikely)

Re: [Rd] Overriding InitTempDir

2006-09-01 Thread Jeffrey Horner
Jeffrey Horner wrote: > For embedded projects, one may want to eliminate the per-session temp > directory created by InitTempDir() and just use a system-specific temp > directory. Here's my solution: > > extern char *R_TempDir; > > void my_InitTempDir() > { > char *tmp; > > if (R_Tem