create_virtual_env {PressPurt}R Documentation

Make a new virtual environment

Description

This function creates a new virtual environment and initializes the new virtual 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 virtual environment, if the python version isn't set, then your default one will be used.

Usage

create_virtual_env(virtualenv, version = NULL, verbose = TRUE)

Arguments

virtualenv

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

## Not run: 
create_virtual_env(version = "/usr/bin/python3", 
    virtualenv = "r-reticulate", 
    verbose = TRUE)

## End(Not run)

[Package PressPurt version 1.0.2 Index]