I'm trying to write a list with multiple dataframes (more than 200 dataframes), for that purpose i use the following syntax:
> list.name <- list(ls(pattern="dfname*"))
this let me create a list.name
with multiple object and when i try to print the content of the list there is no problem
> list.name
[[1]]
[1] "dfname1" "dfname2" "dfname3" "dfname4" "dfname5"
.....
[200] "dfname200" "dfname201" "dfname202" ....
but, when i try to see a specific dataframe in my list list.name
i can't see the dataframe value, for example
> list.name[[5]]
Error en list.name[[5]] : subíndice fuera de los límites (subscript out of range)
or
> list.name[2]
[[1]]
NULL
I need to built a list that let me do other operations like view str
of each dataframe and export each dataframe to csv, etc.
Could you please give me some suggestion? Thanks in advance!