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