create_conda_env: Make a new conda environment

Description Usage Arguments Value Examples

View source: R/helper_funcs.R

Description

This function creates a new conda environment and initializes the new conda environment. In doing so, this function sets your python version and one may specify a specific python version. This is useful if you have multiple versions of python installed. When making a new conda environment, if the python version isn't set, then your default one will be used.

Usage

1
create_conda_env(condaenv, version = NULL, verbose = TRUE)

Arguments

condaenv

Specify conda environment name

version

Set path to specific version of python.

verbose

TRUE or FALSE. When TRUE, shows python and conda configuration. Default: TRUE

Value

None

Examples

1
2
3
4
5
6
7
## Not run: 
create_conda_env( 
    condaenv = "r-reticulate",
    version = "~/anaconda3/bin/python",
    verbose = TRUE)

## End(Not run)

PressPurt documentation built on Oct. 23, 2020, 8:07 p.m.