Get the Count of Objects in the Package
Usage
getSize(x, ...)
# S4 method for class 'DataPackage'
getSize(x)
Arguments
- x
A DataPackage instance
- ...
(not yet used)
Value
The number of object in the Package
Examples
dp <- new("DataPackage")
data <- charToRaw("1,2,3\n4,5,6")
do <- new("DataObject", dataobj=data, format="text/csv", user="jsmith")
dp <- addMember(dp, do)
getSize(dp)
#> [1] 1