reassignInPackage

0th

Percentile

Re-assigns a new value to an existing object in a loaded package

Re-assigns a new value to an existing object in a loaded package.

Keywords
internal
Usage
## S3 method for class 'default':
reassignInPackage(name, pkgName, value, keepOld=TRUE, ...)
Arguments
name
The name of the object to be replaced."
pkgName
The name of the package where the object lives."
value
The new value to be assigned.
keepOld
If TRUE, the old value is kept as an attribute in the new object.
...
Not used.
Value

  • Returns (invisibly) the new object.

See Also

See assignInNamespace() in getFromNamespace.

Aliases
  • reassignInPackage.default
  • reassignInPackage
Documentation reproduced from package R.utils, version 1.7.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.