resetRegistry-missing-method: Reset Registry (missing)

Description Usage Arguments Value Author(s) References See Also Examples

Description

See generic: resetRegistry

Usage

1
2
## S4 method for signature 'missing'
resetRegistry(where = getRegistry(), ...)

Arguments

where

missing.

...

Further arguments to be passed to subsequent functions/methods.

Value

See method resetRegistry-environment-method.

Author(s)

Janko Thyson janko.thyson@rappster.de

References

http://github.com/Rappster/reactr

See Also

resetRegistry-environment-method, rmFromRegistryByUid

Examples

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

## Set reactives so registry has entries //  
setReactive(id = "x_1", value = 10)
setReactive(id = "x_2", value = function() {
  .ref_1 <- get("x_1")
})

## Inspect current state of registry //
registry <- getRegistry()
showRegistry()
## --> two entries corresponding to invisible objects associated to `x_1` 
## and `x_2`

## Reset //
resetRegistry()
showRegistry()
## --> empty 


## End(Not run)

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