Description Usage Arguments Value Author(s) See Also Examples
Check if a package is loaded
1 2 | is.package.loaded(x, envir = sys.frame(sys.parent(0)),
character.only = FALSE)
|
x |
package, see |
envir |
the |
character.only |
see |
logical
Xiaobei Zhao
1 2 3 4 5 | is.package.loaded(Xmisc)
is.package.loaded("Xmisc")
x <- "Xmisc"
is.package.loaded(x) #FALSE
is.package.loaded(x,character.only=TRUE) #TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.