I would like to bring my dataframes within a list out of the list to have several dataframes at the end. Additionally I would like to give them automatically the name which they had before I read them into a list, with adding an ending name ".done" for example and write.table() back into my folder where the original data comes from for every dataframe.done in my environment. Here my example data
library(dplyr)
set.seed(94756)
mat1 <- matrix(sample(seq(-1,100, 0.11),50, replace = TRUE),ncol = 5)
mat1 <- as_tibble(mat1)
mat2 <- matrix(sample(seq(-1,100, 0.11),50, replace = TRUE),ncol = 5)
mat2 <- as_tibble(mat2)
mat3 <- matrix(sample(seq(-1,100, 0.11), 50,replace = TRUE),ncol = 5)
mat3 <- as_tibble(mat3)
data <- list(mat1, mat2, mat3)
Thanks in advance!