Description Usage Arguments Value See Also Examples
View source: R/reticulate_setup.R
Install all Python packages used in the singleCellTK
package
using conda_install
from package reticulate
. This
will create a new Conda environment with the name envname
if not already present.
Note that Anaconda or Miniconda already need to be installed on the local system.
1 2 3 4 5 6 7 8 9 10 11 |
envname |
Character. Name of the conda environment to create. |
conda |
Character. Path to conda executable. Usue "auto" to find conda using the PATH and other conventional install locations. Default 'auto'. |
packages |
Character Vector. List of packages to install from Conda. |
pipPackages |
Character Vector. List of packages to install into the Conda environment using 'pip'. |
selectConda |
Boolean. Run |
forge |
Boolean. Include the Conda Forge repository. |
pipIgnoreInstalled |
Boolean. Ignore installed versions when using pip. This is TRUE by default so that specific package versions can be installed even if they are downgrades. The FALSE option is useful for situations where you don't want a pip install to attempt an overwrite of a conda binary package (e.g. SciPy on Windows which is very difficult to install via pip due to compilation requirements). |
pythonVersion |
Passed to |
... |
Other parameters to pass to |
None. Installation of Conda environment.
See conda_create
for more information on creating a Conda environment.
See conda_install
for more description of the installation parameters.
See https://rstudio.github.io/reticulate/ for more information on package reticulate
.
See selectSCTKConda
for reloading the Conda environment if R is restarted without
going through the whole installation process again.
See https://docs.conda.io/en/latest/ for more information on Conda environments.
1 2 3 4 | ## Not run:
sctkPythonInstallConda(envname = "sctk-reticulate")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.