powered by
Check whether a package(s) is installed under the library tree(s).
IsPackageInstalled(x, lib = .libPaths())
'character' vector. Package names
'character' vector. Library trees
A 'logical' vector of the same length as argument x.
x
# NOT RUN { IsPackageInstalled(c("inlmisc", "csimlni", "devtools")) # }
Run the code above in your browser using DataLab