Re: [R] problem with checking wether file is present or not

2009-06-22 Thread Don MacQueen
What error is it giving? Please include the exact error. What happens if you do this: if (file.exists(findings)) cat('File',findings,'exists\n') else cat('File',findings,not found\n') Your description suggests that you are using 'if' expression inside a loop. If that is the case, try i

Re: [R] problem with checking wether file is present or not

2009-06-21 Thread David Winsemius
On Jun 22, 2009, at 2:21 AM, venkata kirankumar wrote: Hi all, I have a problem with checking File is present in the directory or not like I have a sequence of files in one folder I have to take each file in order and have to caliculate on those files data but in order some files are missing

[R] problem with checking wether file is present or not

2009-06-21 Thread venkata kirankumar
Hi all, I have a problem with checking File is present in the directory or not like I have a sequence of files in one folder I have to take each file in order and have to caliculate on those files data but in order some files are missing for that I have to check and load those files for that I am u