View source: R/import_workspace.R
| get_object | R Documentation |
Generic functions to retrieve all (get_all_objects()) multiprocessing (respectively sa_item)
from a workspace (respectively multiprocessing) or to retrieve a single one (get_object()) .
get_object(x, pos = 1)
get_all_objects(x)
x |
the object in which to store the extracted |
pos |
the index of the object to extract. |
An object of class multiprocessing or sa_item (for get_object()) or a list
of objects of class multiprocessing or sa_item (for get_all_objects()).
Other functions to retrieve information from a workspace, multiprocessing or sa_item: count, get_model, get_name, get_ts.
sa_x13 <- x13(ipi_c_eu[, "FR"], spec = "RSA5c")
wk <- new_workspace()
mp <- new_multiprocessing(wk, "sap1")
add_sa_item(wk, "sap1", sa_x13, "X13")
# A way to retrieve the multiprocessing:
mp <- get_object(wk, 1)
# And the sa_item object:
sa_item <- get_object(mp, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.