I am trying to do something in R that shouldn\'t be too hard I think. I have a folder with many, many files. They all look like this.
airbag.WS-U-E-A.lst
As David Arenburg posted in the comments (yet refused to post as an answer :D), the solution is to use an apply function on the files.
apply
lapply(files, basename)
lapply(files, basename
which will output a list(). For convenience, it might be better to get a vector. In that case, use sapply.
list()
sapply
sapply(files, basename)