getFromRegistryByUid: Get From Registry By UID (generic)

Description Usage Arguments Author(s) References See Also Examples

Description

Retrieves reactive object from the registry (see getRegistry).

Usage

1

Arguments

uid

Signature argument. Object containing UID information.

...

Further arguments to be passed to subsequent functions/methods.

Author(s)

Janko Thyson janko.thyson@rappster.de

References

http://github.com/Rappster/reactr

See Also

getFromRegistryByUid-character-environment-method

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Not run: 

## Example object //
resetRegistry()
setReactive(id = "x_1", value = 10)
x_1

## Get from registry //
uid <- computeObjectUid(id = "x_1")
showRegistry()
obj <- getFromRegistryByUid(uid = uid)
obj$.id
obj$.uid
obj$.where

## Clean up //
obj$.remove()
try(x_1)
## --> removes itself from 'where' and from registry
showRegistry()


## End(Not run)

rappster/reactr documentation built on May 26, 2019, 11:56 p.m.