getRegistry: Get Registry (generic)

Description Usage Arguments Author(s) References See Also Examples

Description

Convenience function to retrieve the registry located in getOption("reactr")$.registry.

Usage

1
getRegistry(where = NULL, ...)

Arguments

where

Signature argument. Object containing registry location 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

getRegistry-environment-method, rmFromRegistryByUid

Examples

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

## Set reactive so that there are elements in registry //  
resetRegistry()
setReactive(id = "x_1", value = Sys.time())  
  
registry <- getRegistry()
registry
ls(registry)
identical(registry, getOption("reactr")$.registry)

## Clean up //
resetRegistry()


## End(Not run)

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