isPackageLoaded

0th

Percentile

Checks if a package is loaded or not

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

Keywords
package, utilities
Usage
# S3 method for default
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.

See Also

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

Aliases
  • isPackageLoaded.default
  • isPackageLoaded
Documentation reproduced from package R.utils, version 2.8.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.