Description Usage Arguments Value Author(s) Examples
Get the system installation directory for a package. This is not entirely trivial as it may be called before the package is installed.
1 | getSystemDir(pkgname, installed)
|
pkgname |
String containing the package name. |
installed |
Logical scalar specifying whether the package is likely to be installed yet. |
String containing the path to the (likely, if installed=FALSE
) installation directory for pkgname
.
Aaron Lun
1 | getSystemDir("basilisk", installed=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.