R.oo (version 1.22.0)

load.Package: Loads a package

Description

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

Usage

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

Arguments

...

Not used.

Value

TRUE if the packages is loaded, otherwise FALSE.

See Also

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

Examples

Run this code
# NOT RUN {
  pkg <- Package("base")
  print(load(pkg))
# }

Run the code above in your browser using DataCamp Workspace