I thought this would be easy but I can't figure it out.
I have 100+ data frames in my global environment. All names are just random UUIDs (generated by a different program) and I want to loop over all of them to add a row or something.
I use ls() to get the names of all of them. And then I don't know how I'm supposed to get data from them. I can easily print all of the names:
frames <- ls(pattern = "Results")
for (i in frames) {
print(i)
}
But I don't see how I can get any columns because all I have is the string of the name of the data frame, not a pointer to the data frame itself.
Any help would be appreciated.