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

isLoaded.Package

Checks if the package is installed on the search path or not


Description

Checks if the package is installed on the search path or not.

Usage

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

Arguments

...

Not used.

Value

TRUE if the packages has been loaded, otherwise FALSE.

Author(s)

Henrik Bengtsson

See Also

*load(). search(). For more information see Package.

Examples

pkg <- Package("base")
  print(isLoaded(pkg))       # TRUE

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.