Re: [Rd] read.table: aborting based on a time constraint

2008-01-09 Thread Dirk Eddelbuettel
On Wed, Jan 09, 2008 at 03:27:31PM -0500, Gabor Grothendieck wrote: > Use file.file()$size to find out how large the file is > and skip files larger than some cutoff. You presumably meant file.info()$size Dirk > > On Jan 9, 2008 2:01 PM, Derek Stephen Elmerick <[EMAIL PROTECTED]> wrote: > > He

Re: [Rd] read.table: aborting based on a time constraint

2008-01-09 Thread Bill Dunlap
On Wed, 9 Jan 2008, Derek Stephen Elmerick wrote: > Hello ? > > I am trying to write code that will read in multiple datasets; > however, I would like to skip any dataset where the read-in process > takes longer than some fixed cutoff. A generic version of the function > is the following: > > for(

Re: [Rd] read.table: aborting based on a time constraint

2008-01-09 Thread Gabor Grothendieck
That was supposed to be file.info()$size On Jan 9, 2008 3:27 PM, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > Use file.file()$size to find out how large the file is > and skip files larger than some cutoff. > > On Jan 9, 2008 2:01 PM, Derek Stephen Elmerick <[EMAIL PROTECTED]> wrote: > > > Hell

Re: [Rd] read.table: aborting based on a time constraint

2008-01-09 Thread Gabor Grothendieck
Use file.file()$size to find out how large the file is and skip files larger than some cutoff. On Jan 9, 2008 2:01 PM, Derek Stephen Elmerick <[EMAIL PROTECTED]> wrote: > Hello – > > I am trying to write code that will read in multiple datasets; > however, I would like to skip any dataset where th

Re: [Rd] read.table: aborting based on a time constraint

2008-01-09 Thread Sean Davis
On Jan 9, 2008 2:01 PM, Derek Stephen Elmerick <[EMAIL PROTECTED]> wrote: > Hello – > > I am trying to write code that will read in multiple datasets; > however, I would like to skip any dataset where the read-in process > takes longer than some fixed cutoff. A generic version of the function >

[Rd] read.table: aborting based on a time constraint

2008-01-09 Thread Derek Stephen Elmerick
Hello – I am trying to write code that will read in multiple datasets; however, I would like to skip any dataset where the read-in process takes longer than some fixed cutoff. A generic version of the function is the following: for(k in 1:number.of.datasets) { X[k]=read.table(…) } The issue

[Rd] R Bugs link broken

2008-01-09 Thread Gabor Grothendieck
The link to R Bugs in the posting guide http://www.r-project.org/posting-guide.html is broken. The - that should be in the link: http://cran.r-project.org/doc/FAQ/R-FAQ.html#R-Bugs is currently %20: http://cran.r-project.org/doc/FAQ/R-FAQ.html#R%20Bugs __

Re: [Rd] Change Dir issue in Vista (PR#10561)

2008-01-09 Thread ripley
Oh please do try not to annoy those who give you the free gift of R! 1) This is a repeat of two previous bug reports: look in the Windows-fixed section on the bug repository. 2) It is documented in R 2.6.1: see ?choose.dir. 3) It has already been worked around in R-patched and R-devel. Reporti

[Rd] Change Dir issue in Vista (PR#10561)

2008-01-09 Thread fannin . 14
Full_Name: Paul Fannin Version: 2.6.0 and 2.6.1 OS: Windows Vista Enterprise Submission from: (NULL) (164.107.68.250) When going to File>Change Dir... and clicking the Browse button, you are only permitted to go into directories on the desktop. I tested versions 2.2.0 to 2.51, and they will all