getReactive: Get Reactive Object (generic)

Description Usage Arguments Author(s) References See Also Examples

Description

Retrieves an reactive object, or, to be more precise, the visible part of the object which corresponds to the value field of the invisible instance of class ReactiveObject.S3.

Usage

1
getReactive(id, where = parent.frame(), hidden = FALSE, ...)

Arguments

id

Signature argument. Object containing name/ID information.

where

Signature argument. Object containing location information.

hidden

logical. TRUE: retrieve entire invisible object/instance from registry; FALSE: retrieve the visible part of the object/instance.

...

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

getReactive-character-environment-method

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run:  

setReactive(id = "x_1", value = 10)
getReactive(id = "x_1")
res <- getReactive(id = "x_1", hidden = TRUE)
res
class(res)

identical(res, getFromRegistry(id = "x_1"))


## End(Not run)

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