Count the number of objects inside a workspace or multiprocessing
Source:R/import_workspace.R
count.Rd
Generic functions to count the number of multiprocessing
(respectively sa_item
)
inside a workspace
(respectively multiprocessing
).
Examples
wk <- new_workspace()
mp <- new_multiprocessing(wk, "sap1")
count(wk) # 1 multiprocessing inside the workspace wk
#> [1] 1
count(mp) # 0 sa_item inside the multiprocessing mp
#> [1] 0