Allows to execute
workbook methods in
The object (
x is a
workbook-object) is equivalent to
$-operator allows to call
This form might be considered more convenient or readable for programmers coming from other object-oriented languages such as Java, C#, ...
Mirai Solutions GmbH https://mirai-solutions.ch
## Not run: # Load workbook (create if not existing) wb <- loadWorkbook("dollar.xlsx", create = TRUE) # Create a worksheet called 'CO2' wb$createSheet(name = "CO2") # Write built-in data set 'CO2' to the worksheet created above wb$writeWorksheet(CO2, sheet = "CO2", startRow = 4, startCol = 2) # Save workbook wb$saveWorkbook() # clean up file.remove("dollar.xlsx") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.