[R] Way to make R idle for some time and try something again later

Tae-Hoon Chung thchung at tgen.org
Fri Jul 29 21:13:16 CEST 2005


Hi, All;

I have a question. In R, what is the best way to make R idle for a while and
try something again later? For example, suppose there is an R job which
accesses a file that may be shared with other active jobs. So when the file
is being accessed by other job, your job will not be able to access the file
and your job will crash because of that. To avoid this, you want your job to
try to access the file repeatedly with some time interval, say every 10
seconds or something like that. Which is the best way to do this in R?

Thanks in advance,

Tae-Hoon Chung

Post-Doctoral Researcher
Translational Genomics Research Institute (TGen)
445 N. 5th Street (Suite 530)
Phoenix, AZ 85004
1-602-343-8724 (Direct)
1-480-323-9820 (Mobile)
1-602-343-8840 (Fax)




More information about the R-help mailing list