Saving deeply nested files to specific directories with specific filenames
问题 Given a 3 level nested list: mylist <- list("1000"=list("cars"=list("fast"=mtcars[1:10,], "slow"=mtcars[11:15,]), "flower"=iris), "2000"=list("tooth"=ToothGrowth, "air"=airquality, "cars"=list("cruiser"=mtcars[5:12,], "fast"=mtcars[1:3,], "mild"=mtcars[9:18,]))) (ie: mylist$1000$cars$fast , where fast is a dataframe, and cars and 1000 are nested lists in mylist ) I'd like to save each innermost dataframe, (ie: fast ) as a .csv with the df name as it's file name, ie: fast.csv , and I want the