# For this example we create an Andromeda object and save it to
# a temporary file locationL
fileName <- tempfile()
andr <- andromeda(cars = cars)
saveAndromeda(andr, fileName)
# Using loadAndromeda to load the object back:
andr <- loadAndromeda(fileName)
# Don't forget to close Andromeda when you are done:
close(andr)
# Cleaning up the file used in this example:
unlink(fileName)
Run the code above in your browser using DataLab