saveAndromeda {Andromeda} | R Documentation |
Save Andromeda to file
Description
Saves the Andromeda
object in a zipped file. Note that by default the Andromeda
object is
automatically closed by saving it to disk. This is due to a limitation of the underlying technology
('RSQLite'). To keep the connection open, use maintainConnection = TRUE
. This will first
create a temporary copy of the Andromeda
object. Note that this can be substantially slower.
Usage
saveAndromeda(
andromeda,
fileName,
maintainConnection = FALSE,
overwrite = TRUE
)
Arguments
andromeda |
An object of class |
fileName |
The path where the object will be written. |
maintainConnection |
Should the connection be maintained after saving? If |
overwrite |
If the file exists, should it be overwritten? If |
Value
Returns no value. Executed for the side-effect of saving the object to disk.
See Also
Examples
andr <- andromeda(cars = cars)
# For this example we'll use a temporary file location:
fileName <- tempfile()
saveAndromeda(andr, fileName)
# Cleaning up the file used in this example:
unlink(fileName)