From delmeric at gmail.com  Wed Jan  9 20:01:28 2008
From: delmeric at gmail.com (Derek Stephen Elmerick)
Date: Wed, 9 Jan 2008 14:01:28 -0500
Subject: [Rd] read.table: aborting based on a time constraint
Message-ID: <d054d5fa0801091101p3a93cd2ey7df35352416d2e6f@mail.gmail.com>

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 is that I cannot find a way to embed logic that will abort
the read-in process of a specific dataset without manual intervention.
I scanned the help manual and other postings, but no luck based on my
search. Any thoughts?

Thanks,
Derek



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