I worked on several hundred files that I automatically uploaded to the workspace as separate data frames (for example, I have 500 data frames in my workspace).
I would like to create a list consisting of all dataframes / objects in the workspace and apply a function to all of them. Of course, I could enter all the objects manually, but this is not very effective for hundreds or thousands of frames. I was wondering if there is a way to use function output ls(), for example:
ls()
[1] "a" "b" "c" "d"
[5] "e" "f" "g" "h"
[9] "i" "j" "k" "l"
[13] "m" "n" "o" "p"
...
Unfortunately, when I extract from the output ls(), I only end up with the character character of the strings, not the list of dataframes.
I would be grateful for your ideas. Thank.
EDITED: r , , .