
read and import an xlsx file as an R object representing the document. This function is experimental.
read_xlsx(path = NULL)# S3 method for rxlsx
length(x)
# S3 method for rxlsx
print(x, target = NULL, ...)
path to the xlsx file to use as base document.
an rxlsx object
path to the xlsx file to write
unused
# NOT RUN {
read_xlsx()
# write a rdocx object in a docx file ----
if( require(magrittr) ){
read_xlsx() %>% print(target = tempfile(fileext = ".xlsx"))
# full path of produced file is returned
print(.Last.value)
}
# }
Run the code above in your browser using DataLab