read_xlsx | R Documentation |
.xlsx
file.Read an .xlsx
file with multiple sheets.
read_xlsx(filePath)
filePath |
The path to the output file. |
If the .xlsx
contains multiple sheets, the output is a list with all sheets as
data.frame
entries in the list.
A list or a data.frame
.
f <- tempfile(fileext = ".xlsx")
write_xlsx(list(cars = mtcars, flowers = iris), filePath = f)
allDat <- read_xlsx(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.