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

View source: R/import_workspace.R

countR Documentation

Count the number of objects inside a workspace or multiprocessing

Description

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

Usage

count(x)

Arguments

x

the workspace or the multiprocessing.

See Also

Other functions to retrieve information from a workspace, multiprocessing or sa_item: get_model, get_name, get_ts.

Examples

wk <- new_workspace()
mp <- new_multiprocessing(wk, "sap1")
count(wk) # 1 multiprocessing inside the workspace wk
count(mp) # 0 sa_item inside the multiprocessing mp



RJDemetra documentation built on Oct. 1, 2024, 5:07 p.m.