READXL filtering multiple .xlsx files at once

Lets say I have a certain number of xlsx files I want to use the map function on to pull together as one. I would use list.files(pattern=".xlsx), providing me with ALL the xlsx files in this directory but I want to exclude a certain number of these xlsx files which I might not need. How might I do this other than to filter them out after the fact?

Its hard to give you a specific advice without sample of the kind o files you want to keep and the ones you want to exclude but I'm almost sure that you can achieve what you want by using some regular expression in the pattern argument.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.