Description Usage Arguments Details Value Examples
cached_install
checks the package cache, installs the specified version if it is not
already installed, and loads the versioned package namespace.
1 2 |
package |
Package name. |
version |
Version as a character string. |
return |
Return the file "path" to the installed package, or the "namespace" object? |
cache |
If |
quiet |
Logical. Try to minimize output from package installation. (Some output comes
from |
partial |
Default |
... |
Arguments passed to |
If the package is already loaded, cached_install
will first attempt
to unload it with a warning. This may not always work!
Note that the namespace is not attached. Partial loading is faster and safer when you are (un)loading multiple versions, but does not export functions etc.
The namespace object or directory where the package is installed.
1 2 3 4 | ## Not run:
cached_install("clipr", "0.4.0")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.