Skip to content

file closing timing problem

3 messages · Melwin, John Joseph

#
I am not sure if this belongs on this list, anyway:

Wait until somefile.dat (i.e. a file that is supposed to be modified by  
swat_edit.exe) has been renewed:

while ( difftime(Sys.time(),file.info("somefile.dat")$atime,units="sec") >  
30 )
	Sys.sleep(1)
#to be placed between your two system calls

cheers,

Melwin

Am 08.06.2010, 13:38 Uhr, schrieb John Joseph <John.Joseph at utsa.edu>:
--