also use 'try' to capture the error and continue

On Sat, Jun 20, 2009 at 12:57 AM, Erin Hodgess <erinm.hodg...@gmail.com>wrote:

> Dear R People:
>
> I'm loading several thousand .Rdata files in sequence.
>
> If one of them is empty, the function crashes.
>
> I am thinking about using system(wc ) etc., and strsplit for the
> results, but was wondering if there is a more clever way via a file
> type command, please.
>
> Thanks,
> Erin
>
>
> --
> Erin Hodgess
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: erinm.hodg...@gmail.com
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to