Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

attach.BasicObject

Attach an BasicObject to the R search path


Description

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

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

Usage

## S3 method for class 'BasicObject'
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 BasicObject should be inserted.

...

Not used.

Value

Returns TRUE if the BasicObject was attached, otherwise FALSE.

Author(s)

Henrik Bengtsson

See Also

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


R.oo

R Object-Oriented Programming with or without References

v1.24.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.