powered by
Generic functions to count the number of multiprocessing (respectively sa_item) inside a workspace (respectively multiprocessing).
multiprocessing
sa_item
workspace
count(x)
the workspace or the multiprocessing.
Other functions to retrieve information from a workspace, multiprocessing or sa_item: get_model, get_name, get_ts.
get_model
get_name
get_ts
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
Run the code above in your browser using DataLab