1

I have a bunch of dataframes in a list. Let’s say, for making it short and easy, I have iris and mtcars:

my_list <- list (mydf1=iris, mydf2=mtcars)

Is there any simple way to extract all dataframes to global environment no matter how many of them are in the list?.

From this example, After extracting I must have two data frames: mydf1 and mydf2

useRj
  • 1,232
  • 1
  • 9
  • 15

0 Answers0