Learn R Programming

datapack (version 1.4.1)

getSize: Get the Count of Objects in the Package

Description

Get the Count of Objects in the Package

Usage

getSize(x, ...)

# S4 method for DataPackage getSize(x)

Arguments

x

A DataPackage instance

...

(not yet used)

Value

The number of object in the Package

See Also

DataPackage-class

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab