Skip to content
Prev 11205 / 63424 Next

Question about Unix file paths

It would work similarly to:

	readLines(pipe("cmd /c dir/b a*.dat"))

If the question is what would it be used for then I have a number
of data files with nearly the same name and want the most recent.

I started out using list.files but found the pattern matching
less natural when it comes to files than file globbing so I changed
this to use the above.  After that I use file.info to find out which
is the most recent and then read in that.