freeStatement | R Documentation |
Free memory used by a librdf statement
freeStatement(.Object)
## S4 method for signature 'Statement'
freeStatement(.Object)
.Object |
a Statement object |
After this method is called, the Statement object is no longer usable and should
be deleted "rm(statement)"
and a new object created. This method frees
all resources for the statement, as well as each node in the statement.
world <- new("World")
stmt <- new("Statement", world, subject="http://www.example.com/myevent",
predicate="http://example.com/occurredAt",
object="Tue Feb 17 14:05:13 PST 2015")
# At this point, some operations would be performed with the Statement.
# See '?redland' for a complete example.
# When the Statement object is no longer needed, the resources it had allocated can be freed.
freeStatement(stmt)
rm(stmt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.