R.utils (version 2.12.3)

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

Description

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

Usage

# S3 method for default
reassignInPackage(name, pkgName, value, keepOld=TRUE, ...)

Value

Returns (invisibly) the new object.

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 attribute oldValue in the new object.

...

Not used.

Author

Henrik Bengtsson

See Also