tag:blogger.com,1999:blog-4946490806848569840.post3584587369569714179..comments2023-04-24T16:57:22.851-07:00Comments on R snippets: Working with isTRUEUnknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4946490806848569840.post-84682819489901376642011-11-29T00:17:38.506-08:002011-11-29T00:17:38.506-08:00you can use file.exists() to check whether the fil...you can use file.exists() to check whether the file is available.<br /><br />Cheers,Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4946490806848569840.post-332586418487083742011-11-26T07:49:39.577-08:002011-11-26T07:49:39.577-08:00You can use which function to skip NA in logical v...You can use which function to skip NA in logical vector.<br /><br />> which(c(TRUE,FALSE,NA,TRUE))<br />[1] 1 4<br /><br />files_to_process <- in.files[which(file.info(in.files)$mtime > file.info(out.files)$mtime)]Anonymousnoreply@blogger.com