Description Usage Arguments Author(s) References See Also Examples
Retrieves reactive object from registry
(see getRegistry
).
1 | getFromRegistry(id, where = parent.frame(), ...)
|
id |
Signature argument. Object containing name/ID information. |
where |
Signature argument. Object containing location information. |
... |
Further arguments to be passed to subsequent functions/methods. |
Janko Thyson janko.thyson@rappster.de
http://github.com/Rappster/reactr
getFromRegistry-character-environment-method
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## Not run:
## Example object //
resetRegistry()
setReactive(id = "x_1", value = 10)
x_1
## Get from registry //
showRegistry()
obj <- getFromRegistry(id = "x_1")
obj$.id
obj$.uid
obj$.where
## Clean up //
obj$.remove()
try(x_1)
## --> removes itself from 'where' and from registry
showRegistry()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.