Displaying 1 result from an estimated 1 matches for "tp2340534p2340534".
2010 Aug 27
3
checking if a package is installed
...works),
f_checkpackage <- function()
{
if (library(madeupname) == TRUE) {
cat("package loaded OK\n")
}
else
{
cat("ERROR: package not loaded")
}
}
f_checkpackage()
--
View this message in context: http://r.789695.n4.nabble.com/checking-if-a-package-is-installed-tp2340534p2340534.html
Sent from the R help mailing list archive at Nabble.com.