GetNewXL | R Documentation |
Start a new instance of Excel and return its handle. This is needed to address the Excel application and objects afterwards.
GetNewXL(visible = TRUE, newdoc = TRUE)
visible |
logical, should Excel made visible? Defaults to |
newdoc |
logical, determining if a new workbook should be created. Defaults to |
Here's a list of some frequently used commands.
Let's assume:
xl <- GetNewXL()
workbooks | xl$workbooks()$count() |
quit excel | xl$quit() |
Andri Signorell <andri@signorell.net>
XLView
, XLGetRange
, XLGetWorkbook
## Not run: # Windows-specific example
# get a handle to a new excel instance
xl <- GetNewXL()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.