conda_create: Create conda environment.

Description Usage Arguments Value

View source: R/conda.R

Description

This function is extending https://github.com/rstudio/reticulate/blob/d30786a7ca1335003c52c458c1b4081d47ddc9bc/R/conda.R#L109 # nolint which is licensed under Apache License 2.0, see https://github.com/rstudio/reticulate/blob/master/LICENSE with copyright 2016-2017 RStudio, Inc.

Usage

1
2
3
4
5
6
7
conda_create(
  envname = NULL,
  packages = "python",
  conda = "auto",
  forge = TRUE,
  channel = character()
)

Arguments

envname

The name of, or path to, a conda environment.

packages

A character vector, indicating package names which should be installed.

conda

The path to a 'conda' executable. Use '"auto"' to allow 'reticulate' to automatically find an appropriate 'conda' binary.

forge

Boolean; include the [Conda Forge](https://conda-forge.org/) repository?

channel

An optional character vector of Conda channels to include. When specified, the 'forge' argument is ignored. If you need to specify multiple channels, including the Conda Forge, you can use 'c("conda-forge", <other channels>)'.

Value

string with path to Python binary


jtilly/r-conda-env documentation built on April 19, 2020, 10:23 p.m.