library(openxlsx)
wb <- createWorkbook()
addWorksheet(wb, "iris")
writeData(wb, "iris", iris)
Where can I find the data/tab data for iris
in wb
?
EDIT:
I would like to see the data in a R session and export it back as a R object to see what it contains. Reason is, I have a function (that I cant change) that returns a workbook
object with data and I would like to explore the data in R additionally before saving it.