Re: [R] Reading highest numbered file

2010-09-14 Thread Erik Iverson
See ?list.files and ?file.info. E.g., file.info(list.files("~/tmp", full.names = TRUE)) Michael D wrote: I have a bunch of files named "[identifier1].[identifier2].[mmdd].[hhmmss].txt" and im having trouble updating my read script for the timestamp. I've been using file.exists and a for l

[R] Reading highest numbered file

2010-09-14 Thread Michael D
I have a bunch of files named "[identifier1].[identifier2].[mmdd].[hhmmss].txt" and im having trouble updating my read script for the timestamp. I've been using file.exists and a for loop but its highly inefficient and cumbersome. Would there be someway to create an object containing the stri