Re: [R] Tempfile error

From: Sean O'Riordain <sean.oriordain_at_gmail.com>
Date: Thu 07 Jul 2005 - 14:36:28 EST

Hi Harold,
I know nothing about Sweave (though it certainly sounds like a great idea!). Does Sweave hold these files open simultaneously - many operating systems wouldn't be able to cope with 20,000 simultaneously open files.

Could you be running out of disk space? or inodes - if you're on a unix type system? can the directory hold that many files? can the disk hold that many files? Many filesystems are formatted with an assumption about the average file size.

Perhaps if you told us what type of operating system and type(s) of filesystem(s)?

cheers!
Sean

On 7/6/05, Doran, Harold <HDoran@air.org> wrote:
> Dear List:
>
> I am encountering an error that I can't resolve. I'm looping through
> rows of a dataframe to generate individual tex files using Sweave. At
> random points along the way, I encounter the following error
>
> Error in file() : cannot find unused tempfile name
>
> At which point Sweave halts. There isn't a logical pattern that I can
> identify in terms of why the program stops at certain points. It just
> seems to be random as far as I can tell. I've searched the archives and
> of course Sweave FAQs but haven't found much that sheds light on what
> this error indicates and what I should do to resolve it.
>
> There are approximately 20,000 rows, meaning that about 20,000 tex files
> are created. If I sample 5,000 or even 10,000 and run the program, I do
> not encounter an error. It only occurs when I run the program on the
> full dataframe and even then the error is not occuring at the same
> point. That is, the row at which the program halts varies each time.
>
> Does anyone have any thoughts on this problem?
>
> -Harold
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 07 14:45:40 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:18 EST