04pallav
9/13/2017 - 9:25 PM

installing and checking if a package is there

installing and checking if a package is there

if (!require("gplots")) {
+     install.packages("gplots", dependencies = TRUE)
+     library(gplots)
+ }