Rtools.pacman.package.list | R Documentation |
These are functions to search for packages that can be installed by Rtools' pacman. In short, it is a wrapper for some of the functions of pacman in Rtools.
Rtools.pacman.package.list()
is a function that outputs a list of packages that can be installed by Rtools pacman from repository. By specifying arguments, you can extract only those packages that are already installed, or only those that are yet uninstalled.
Rtools.pacman.package.find()
is a function that displays a list of packages that can be installed by pacman in Rtools from repository with the specified arguments in the string. If no matching package is found, return NA.
Rtools.pacman.package.list(package.list = c("all", "installed", "uninstalled"))
Rtools.pacman.package.find(
x,
package.list = c("all", "installed", "uninstalled")
)
package.list |
Select whether to show all packages, only installed packages, or only packages that have not yet been uninstalled. |
x |
A String. Specify the string contained in the package to be searched. |
Cannot be used except in a Windows environment where Rtools40 or later is installed.
Rtools.pacman.package.list()
will pass pacman -Sl
to shell
to receive and output the result.
Rtools.pacman.package.find()
binds pacman -Ss
and the input value with paste
, and passes it to shell
to receive the result and output it.
a Vector of package names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.