read_xlsx: Create an 'Excel' document object

View source: R/read_xlsx.R

read_xlsxR Documentation

Create an 'Excel' document object

Description

Read and import an xlsx file as an R object representing the document. This function is experimental.

Usage

read_xlsx(path = NULL)

## S3 method for class 'rxlsx'
length(x)

## S3 method for class 'rxlsx'
print(x, target = NULL, ...)

Arguments

path

path to the xlsx file to use as base document.

x

an rxlsx object

target

path to the xlsx file to write

...

unused

Examples

read_xlsx()
x <- read_xlsx()
print(x, target = tempfile(fileext = ".xlsx"))

officer documentation built on Oct. 10, 2024, 1:06 a.m.