find | R Documentation |
Find an existing conda installation or, if none can be found, install a biocconda-managed conda instance.
find(
command = defaultCommand(),
minimum.version = defaultMinimumVersion(),
can.download = TRUE,
forget = FALSE,
...
)
command |
String containing the command to check for an existing installation. |
minimum.version |
String specifying the minimum acceptable version of an existing installation. |
can.download |
Logical scalar indicating whether to download conda if no acceptable existing installation can be found. |
forget |
Logical scalar indicating whether to forget the results of the last call. |
... |
Further arguments to pass to |
If the BIOCCONDA_FIND_OVERRIDE
environment variable is set to a command or path to a conda executable, it is returned directly and all other options are ignored.
By default, find
will remember the result of its last call in the current R session, to avoid re-checking the versions, cache, etc.
This can be disabled by setting forget=TRUE
to force a re-check, e.g., to detect a new version of conda that was installed while the R session is active.
String containing the command to use to run conda.
Aaron Lun
cmd <- find()
system2(cmd, "--version")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.