Re: [Rd] Sweave resource leak: leftover temp files (PR#7998)

2005-07-12 Thread murdoch
On 7/12/2005 8:58 AM, Prof Brian Ripley wrote: > On Tue, 12 Jul 2005, Duncan Murdoch wrote: > >> Prof Brian Ripley wrote: >>> This is actually a Windows bug. Those files are unlink()ed, and it seems >>> Windows is not respecting that (not an unknown phenomenon). I have tried a >>> few workarou

Re: [Rd] Sweave resource leak: leftover temp files (PR#7998)

2005-07-12 Thread ripley
On Tue, 12 Jul 2005, Duncan Murdoch wrote: > Prof Brian Ripley wrote: >> This is actually a Windows bug. Those files are unlink()ed, and it seems >> Windows is not respecting that (not an unknown phenomenon). I have tried a >> few workarounds, and am about to commit one that seems to work. > >

Re: [Rd] Sweave resource leak: leftover temp files (PR#7998)

2005-07-12 Thread murdoch
Prof Brian Ripley wrote: > This is actually a Windows bug. Those files are unlink()ed, and it seems > Windows is not respecting that (not an unknown phenomenon). I have tried > a few workarounds, and am about to commit one that seems to work. I guess you mean the C unlink, since I don't see th

Re: [Rd] Sweave resource leak: leftover temp files (PR#7998)

2005-07-12 Thread ripley
This is actually a Windows bug. Those files are unlink()ed, and it seems Windows is not respecting that (not an unknown phenomenon). I have tried a few workarounds, and am about to commit one that seems to work. No files are left over on a decent operating system, e.g. Solaris or FC3 Linux.

Re: [Rd] Sweave resource leak: leftover temp files (PR#7999)

2005-07-08 Thread Doran, Harold
: Duncan Murdoch [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 10:10 AM To: Doran, Harold Cc: r-devel@stat.math.ethz.ch Subject: Re: [Rd] Sweave resource leak: leftover temp files (PR#7999) One additional note: followups should only go to R-bugs if they have the bug number on them (like this

Re: [Rd] Sweave resource leak: leftover temp files (PR#7999)

2005-07-08 Thread Peter Dalgaard
Gabor Grothendieck <[EMAIL PROTECTED]> writes: > On 7/8/05, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > > > We're planning (or in the process of?) changing the bug reporting > > system, so this is only a temporary inconvenience. > > > > I think these points have been raised before but, just in

Re: [Rd] Sweave resource leak: leftover temp files (PR#7999)

2005-07-08 Thread Gabor Grothendieck
On 7/8/05, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > We're planning (or in the process of?) changing the bug reporting > system, so this is only a temporary inconvenience. > I think these points have been raised before but, just in case, some aspects of this, if its changing anyways, that woul

Re: [Rd] Sweave resource leak: leftover temp files (PR#7999)

2005-07-08 Thread Duncan Murdoch
One additional note: followups should only go to R-bugs if they have the bug number on them (like this message does). Otherwise you end up generating a separate bug report (PR#7999 was created in your reply to my submission of PR#7998). Usually it's best just to cc R-devel, unless you really

Re: [Rd] Sweave resource leak: leftover temp files

2005-07-08 Thread Duncan Murdoch
On 7/8/2005 9:36 AM, Doran, Harold wrote: > This is great. Thank you for your help, but let me make sure I fully > understand. Here is the looping file I use to subset the data frame, > create a tex file, and Sweave it. This results in N number of tex files > where N is equal to the number of rows

Re: [Rd] Sweave resource leak: leftover temp files (PR#7999)

2005-07-08 Thread HDoran
This is great. Thank you for your help, but let me make sure I fully understand. Here is the looping file I use to subset the data frame, create a tex file, and Sweave it. This results in N number of tex files where N is equal to the number of rows in the data frame. list <- unique(wide$stuid) mas

[Rd] Sweave resource leak: leftover temp files (PR#7998)

2005-07-08 Thread murdoch
Harold, I've taken a closer look at your example and I'd call this an Sweave bug. It creates tempfiles each time you run it, and doesn't delete them at the end. For example: > list.files(tempdir()) character(0) > testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils") > Sw