qscan | R Documentation |
This function scans one or more R scripts and tries to quick-load/install
the packages mentioned by library
or require
functions.
qscan(..., load = TRUE, detail = TRUE)
... |
the scripts to scan. Defaults to all R scripts in the current working directory. |
load |
quick-load/install the cited packages (see details).
Defaults to |
detail |
show the list of packages found in each script.
Defaults to |
The function calls the qload
function to quick-load/install the packages.
The result is a list of packages cited in the scripts.
François Briatte <f.briatte@gmail.com>
qload
, library
## Scan the working directory. ## Not run: qscan()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.