create_env: Create your conda virtual env with DALEX

View source: R/create_env.R

create_envR Documentation

Create your conda virtual env with DALEX

Description

Python objects may be loaded into R. However, it requires versions of the Python and libraries to match between both machines. This functions allow user to create conda virtual environment based on provided .yml file.

Usage

create_env(yml, condaenv)

Arguments

yml

a path to the .yml file. If OS is Windows conda has to be added to the PATH first

condaenv

path to main conda folder. If OS is Unix You may want to specify it. When passed with windows, param will be omitted.

Value

Name of created virtual env.

Author(s)

Szymon Maksymiuk

Examples

## Not run: 
  create_env(system.file("extdata", "testing_environment.yml", package = "DALEXtra"))

## End(Not run)

DALEXtra documentation built on June 14, 2022, 9:07 a.m.