List All Files with Specific Extension in R (Example) | Use list.files Function to Identify Pattern
Автор: Statistics Globe
Загружено: 2020-01-10
Просмотров: 2850
How to apply the list.files function to return a list of all files with a certain character pattern in the R programming language. More info: https://statisticsglobe.com/list-all-...
R code:
xlsx_files <- list.files(path = "C:/Users/Joachim Schork/Desktop/example_dir", # Specify path
pattern = "xlsx") # Specify pattern
xlsx_files # Print list to console
"excel_1.xlsx" "excel_2.xlsx" "excel_3.xlsx"
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: