Files are stored in S3 bucket and when tried to read file.info such as:
Last updated time
File size etc
couldnt because not sure how to enter the directory for list.files.
library(aws.s3) file_list <- aws.s3::get_bucket(# complete bucket link including the folder name of the files in place) # Transform info as df and extract Key info file_names <- file_list %>% as.data.frame() %>% select(Key) file_names # Could see in console all the file names stored in the bucket lst_fl <- list.files( # Stuck here to give the path/directory recursive = F, pattern = "csv$", # extract files ends with csv full.names = TRUE)