Learn R Programming

PressPurt (version 1.0.2)

create_conda_env: Make a new conda environment

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

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

Run this code
# NOT RUN {
create_conda_env( 
    condaenv = "r-reticulate",
    version = "~/anaconda3/bin/python",
    verbose = TRUE)
# }

Run the code above in your browser using DataLab