see

?try

HTH,
Giovanni

> Date: Tue, 09 Mar 2004 10:49:52 -0800 (PST)
> From: Susan Lin <[EMAIL PROTECTED]>
> Sender: [EMAIL PROTECTED]
> Precedence: list
> 
> Hi,
> 
> In the following code, I got an error meesage if an
> input file is empty, and the program stopped running.
> Could someone to tell me how to handle this problem. I
> want the program to keep running. Thanks.
> for i in [1:3]
> {  
>     file=paste("file", i, ".dat")
>     x <- read.data(file)
>     x(11)
>     plot(x);
>     dev.off()
> 
> }
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 
> 

-- 

 __________________________________________________
[                                                  ]
[ Giovanni Petris                 [EMAIL PROTECTED] ]
[ Department of Mathematical Sciences              ]
[ University of Arkansas - Fayetteville, AR 72701  ]
[ Ph: (479) 575-6324, 575-8630 (fax)               ]
[ http://definetti.uark.edu/~gpetris/              ]
[__________________________________________________]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to