load.Package: Loads a package

load.PackageR Documentation

Loads a package

Description

Loads a package. This is an alternative way to use library() to load a package.

Usage

## S3 method for class 'Package'
load(this, ...)

Arguments

...

Not used.

Value

TRUE if the packages is loaded, otherwise FALSE.

Author(s)

Henrik Bengtsson

See Also

*unload(). *isLoaded(). search(). For more information see Package.

Examples

  pkg <- Package("base")
  print(load(pkg))

R.oo documentation built on Nov. 2, 2024, 1:07 a.m.