set_priority | R Documentation |
Get/Set SA-item Priority
set_priority(jsap, idx, priority = 0L)
get_priority(jsai)
jsap |
SAProcessing to be modified. |
idx |
index of the target SA-item. |
priority |
integer containing the priority. |
jsai |
a SA-item. |
# Load a workspace
file <- system.file("workspaces", "workspace_test.xml", package = "rjd3workspace")
my_jws <- jws_open(file)
# Select the first SA-Processing and SA-Item
jsap <- jws_sap(my_jws, 1)
jsai <- jsap_sai(jsap, 1L)
# Change priority
set_priority(jsap, idx = 1L, priority = 3L)
# Retrieve priority
get_priority(jsai)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.