Writing multiple data frames into .csv files using R
问题 I have used lapply to apply a function to a number of data frames: data.cleaned <- lapply(data.list, shooter_cleaning) And then labeled each of the resulting data frames in the list according to their subject number (e.g., 100): names(data.cleaned) <- subject.names What I want to do is to save each new data frame as an individual .csv file based on its subject number. For example, for subject 100 I\'d like the .csv file to be labeled as \"100.csv\" Normally to do this (for a single data frame