Learn R Programming

RJDemetra (version 0.1.4)

count: Count the number of objects inside a workspace or multiprocessing

Description

Generics functions to count the number of multiprocessing (respectively sa_item) inside a workspace (respectively multiprocessing).

Usage

count(x)

Arguments

x

the workspace or the codemultiprocessing.

See Also

Other functions to get informations from a workspace, multiprocessing or sa_item: get_model, get_name, get_ts.

Examples

Run this code
# NOT RUN {
wk <- new_workspace()
mp <- new_multiprocessing(wk, "sa1")
count(wk) # 1 multiprocessing inside the workspace wk
count(mp) # 0 sa_item inside the multiprocessing mp


# }

Run the code above in your browser using DataLab