loadLibs | R Documentation |
It loads libraries successfully in certain scenario where require/library
fails.
loadLibs(failedPackages)
failedPackages |
(character vector) names of libraries to load |
This function loads libraries into the working space. It iterates over each path in .libPaths()
using require
until a library is loaded successfully. In comparison, require(x)
for a library x
fails if x
is present in multiple search paths but the 1st presence causes loading error, e.g. due to dependency or other issues.
It raises error if not all libraries are loaded successfully.
none
library(wfr)
loadLibs(c("ggplot2","flextable"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.