powered by
This function scans one or more R scripts and tries to quick-load/install the packages mentioned by library or require functions.
library
require
qscan(..., load = TRUE, detail = TRUE)
The result is a list of packages cited in the scripts.
the scripts to scan. Defaults to all R scripts in the current working directory.
quick-load/install the cited packages (see details). Defaults to TRUE.
TRUE
show the list of packages found in each script. Defaults to TRUE.
François Briatte <f.briatte@gmail.com>
The function calls the qload function to quick-load/install the packages.
qload
qload, library
## Scan the working directory. if (FALSE) qscan()
Run the code above in your browser using DataLab