Description Usage Arguments Value Author(s) References See Also Examples
See generic: rmFromRegistryByUid
1 2 | ## S4 method for signature 'character'
rmFromRegistryByUid(uid, ...)
|
uid |
|
... |
Further arguments to be passed to subsequent functions/methods. |
where |
|
See method
rmFromRegistryByUid-character-character-environment-method
Janko Thyson janko.thyson@rappster.de
http://github.com/Rappster/reactr
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ## Not run:
## Set reactives so registry contains elements //
id_1 <- "x_1"
id_2 <- "x_2"
where <- environment()
setReactive(id = id_1, value = 10)
setReactive(id = id_2, value = function() {
.ref_1 <- get("x_1", envir = where)
})
## Comput UIDs //
uid_1 <- computeObjectUid(id = id_1, where = where)
uid_2 <- computeObjectUid(id = id_2, where = where)
## Inspect current state of registry //
registry <- getRegistry()
showRegistry()
exists(uid_1, registry)
exists(uid_2, registry)
## Remove //
rmFromRegistryByUid(uid = uid_1)
exists(uid_1, registry)
rmFromRegistryByUid(uid = uid_2)
exists(uid_2, registry)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.