g.data.upgrade {g.data}R Documentation

Upgrade DDP's Created Prior to R-2.1.0

Description

Earlier DDP's used the delay function which is deprecated in R-2.1.0. This function modifies old DDP code to use delayedAssign (which only exists in R-2.1.0 and higher).

Usage

  g.data.upgrade(dir=searchpaths()[pos], pos=2, warn=TRUE)

Arguments

dir DDP pathname.
pos If `dir' is not given, use the DDP in this position of the search path.
warn If TRUE, a warning is generated.

Details

You can call this function directly to upgrade old DDP's by explicitly passing a pathname. It is also automatically invoked by g.data.attach as necessary. Once all your DDP's are upgraded, this function will no longer be needed.

Value

None, used only for its side effect.

See Also

g.data.save


[Package g.data version 1.6 Index]