attach.Object: Attaches an Object to the R search path

Description Usage Arguments Value Author(s) See Also Examples

Description

Attach the members of an Object to the R search path.

If trying to attach the same Object twice without detaching it in between, a warning will be generated and nothing will be done.

Usage

1
2
## S3 method for class 'Object'
attach(this, private=FALSE, pos=2, ...)

Arguments

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.

Value

Returns TRUE if the Object was attached, otherwise FALSE.

Author(s)

Henrik Bengtsson

See Also

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

Examples

1
## Not run: For a complete example see help(Object).

R.oo documentation built on Aug. 26, 2020, 5:13 p.m.