Learn R Programming

R.oo (version 1.2.7)

attach.Object: Attaches an Object to the Rsearch path

Description

Attach the members of an Object to the Rsearch path. If trying to attach the same Object twice without detaching it inbetween, a warning will be generated and nothing will be done.

Usage

## S3 method for class 'Object}(this, private=FALSE, pos=2, ...)':
attachundefined

private{If TRUE, private fields will also be attached,
    otherwise not.}
  pos{The position at in search path where the Object should be
             inserted.}
  ...{Not used.}

Returns TRUE if the Object was attached, otherwise FALSE.

For a complete example see help(Object).

[object Object]

*detach() and attach(), detach().
  For more information see Object.

programming
methods
internal
methods

Arguments