isPackageLoaded | R Documentation |
Checks if a package is loaded or not.
Note that, contrary to require()
,
this function does not load the package if not loaded.
## Default S3 method:
isPackageLoaded(package, version=NULL, ...)
package |
The name of the package. |
version |
A |
... |
Not used. |
Returns a logical
.
Henrik Bengtsson
To check if a package is installed or not, see isPackageInstalled
().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.