r - Unlist a list of dataframes -
this possibly simple question. have list of dataframes (df1, df2.... dfn), i.e. each element of list dataframe. basically, list created this:
mylist = list(df1, df2,...., dfn)
but how do reverse, unlist df1, df2, etc. reside separately in workspace?
use list2env
specially designed this:
from named list x, create environment containing list components objects, or “multi-assign” x pre-existing environment.
so here :
list2env(mylist ,.globalenv)
Comments
Post a Comment