Learn R Programming

R.oo (version 1.21.0)

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 Package
isLoaded(this, ...)

Arguments

...

Not used.

Value

TRUE if the packages has been loaded, otherwise FALSE.

See Also

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

Examples

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

Run the code above in your browser using DataLab