freeStatement {redland} | R Documentation |
Free memory used by a librdf statement
Description
Free memory used by a librdf statement
Usage
freeStatement(.Object)
## S4 method for signature 'Statement'
freeStatement(.Object)
Arguments
.Object |
a Statement object |
Details
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.
Examples
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)
[Package redland version 1.0.17-18 Index]