Yep that should work though the section that lists your files is a little hard to decipher. You may need to add full.names=TRUE
to list.files()
in order to get the full file paths (instead of just the filenames).
Yep that should work though the section that lists your files is a little hard to decipher. You may need to add full.names=TRUE
to list.files()
in order to get the full file paths (instead of just the filenames).