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

isPackageLoaded

Checks if a package is loaded or not


Description

Checks if a package is loaded or not. Note that, contrary to require(), this function does not load the package if not loaded.

Usage

## Default S3 method:
isPackageLoaded(package, version=NULL, ...)

Arguments

package

The name of the package.

version

A character string specifying the version to test for. If NULL, any version is tested for.

...

Not used.

Value

Returns a logical.

Author(s)

Henrik Bengtsson

See Also

To check if a package is installed or not, see isPackageInstalled().


R.utils

Various Programming Utilities

v2.10.1
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.