0

I have 15 different excel files in one folder. I don't want to import the dataset one by one. How can I import all the datasets into RStudio environment at one time ?

I tried : file.list <- list.files(path = "C:/Users/Lli/Documents/Cloud") df.list <- lapply(file.list, read_excel)

However, an error accured. Error: path does not exist: ‘file1_in_the_folder.xlsx’

Lixin Li
  • 45
  • 7
  • Make sure to use `full.names=TRUE` with `list.files` if you are reading files outside of your current working directory. – MrFlick Nov 21 '22 at 16:13

0 Answers0