Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- check.installed <- function(pkgname) {
- is.element(pkgname, installed.packages()[ , 1])
- }
- ## Verify that mosaic is installed!
- if (!check.installed("mosaic")) {
- install.packages("mosaic");
- }
- library(mosaic)
Add Comment
Please, Sign In to add comment