I\'d like to import files (of different lengths) recursively from sub-directories and put them into one data.frame, having one column with the subdirectory name and one colu
Can you try:
library(tidyverse) tbl <- list.files(recursive = T, pattern = ".out$") %>% map_dfr(read_table, skip = 2, .id = "filepath")