I have 254 text files in total. I want to convert all the text file into one single tsv file in r-programming. How can I do it? Even if it's not possible in r, is there any other way I can do it?
path <- setwd("~/syeda_demo/transcripts/")
files <- list.files(path = 'path',
pattern = '\\.txt$', full.names = TRUE)
map_dfr(files, read_table) %>%
write_tsv('path/newfile.tsv')`