freeStorage | R Documentation |
After this method is called, the Storage object is no longer usable and should
be deleted "rm(storage)"
and a new object created.
freeStorage(.Object)
## S4 method for signature 'Storage'
freeStorage(.Object)
.Object |
a Storage object to free memory for |
world <- new("World")
storage <- new("Storage", world, "hashes", name="", options="hash-type='memory'")
# At this point we would perform some operations using the storage object.
# See '?redland' for a complete example.
# When the Storage object is no longer needed, the resources it had allocated can be freed.
status <- freeStorage(storage)
rm(storage)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.