I want to find all the sheets in an xlsx file using R. Is there any R library/function that I can use for it?
You can use the excel_sheets() function of the readxl library to find all the sheets in a given xlsx file.
Here is an examples:
library("readxl")all_sheets <- excel_sheets(xlsx_file)
library("readxl")
all_sheets <- excel_sheets(xlsx_file)
where, xlsx_file: your xlsx file with complete path.