You could loop over the file names, read each excel file and store the
individual data frames in a list using lapply.
I prefer to read excel files with the package readxl.
The code could be along the lines of
library(readxl)
my_files <- c("file1", "file2")
lapply(my_files, read_excel)
HTH
Ulri
I am using R(3.4.3), Win 7(extreme edition) 32 bit,
I have 10 excel files data1,xls, data2.xls .. till data10.xls.
I want to create 10 dataframes . How to do ?
regards
Parth
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing li
2 matches
Mail list logo