Examples for 'pryr::rebind'


Rebind an existing name.

Aliases: rebind

Keywords:

### ** Examples

a <- 1
rebind("a", 2)
a
[1] 2
# Throws error if no existing binding
## Not run: rebind("b", 2)

local({
  rebind("a", 3)
})
a
[1] 3
# Can't find get because doesn't look past globalenv
## Not run: rebind("get", 1)

[Package pryr version 0.1.6 Index]