xlcRestore | R Documentation |
Restores objects from Excel files that have been dumped using xlcDump
.
xlcRestore(file = "dump.xlsx", pos = -1, overwrite = FALSE)
file |
Excel file from which to restore objects. This is normally a file that has been produced with
|
pos |
Environment into which to restore objects. Can be specified either as an |
overwrite |
|
Named logical
vector specifying if objects have been restored or not. An object may not be restored because there
was an issue with reading the data from the worksheet or the object already existed in the environment pos
(and overwrite = FALSE
).
Martin Studer
Mirai Solutions GmbH https://mirai-solutions.ch
xlcDump
, readNamedRegion
,
readWorksheet
, readNamedRegionFromFile
,
readWorksheetFromFile
, xlcEdit
## Not run:
require(datasets)
xlcDump(c("airquality", "CO2", "iris", "PlantGrowth", "swiss"),
file = "myDump.xlsx", pos = "package:datasets")
xlcRestore(file = "myDump.xlsx", overwrite = TRUE)
# clean up
file.remove("myDump.xlsx")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.