tests/addChart.R

library(RExcelXML)
f = "myChart.xlsx"

if(file.exists(f))
  unlink(f)

e = excelDoc(f, create = TRUE, "inst/SampleDocs/TwoColData.xlsx")
w = workbook(e)

sh = w[["Sheet1"]]
o = addChart(sh, NULL)
duncantl/RExcelXML documentation built on Nov. 23, 2023, 4:21 p.m.