I need some help for reading multiple files (1.snplist,2.snplist, 3.snplist...) at once. Right now, I am using this,
library(data.table)
a1 <- fread('1.snplist')
a2 <- fread('2.snplist')
a3 <- fread('3.snplist')
How can I read all files in R at once, with different file names, a1,a2,a3...a22. Thank you