I am trying to open a data frame in a list by its name without success.
I am successfully calling the data frame (S09489500) in the list (listDF_Ann_recursive) using
listDF_Ann_recursive$S09489500
However, I do not want to call it in this way, instead,
I got the name from another list and save in a variable called name:
name <- as.name(list_recursive_algorithm[[o]]$Station[i])
print(name)
> print(name)
S09489500
After, I use the variable name to call the data frame, but obviously, it is not working
listDF_Ann_recursive$name
Any idea to solve it?