conda.env.create: Wrapper function of 'conda env create', create an environment...

Description Usage Arguments Examples

View source: R/conda.R

Description

Wrapper function of 'conda env create', create an environment based on an environment file

Usage

1
2
conda.env.create(env_name = "", env_file = "", env_path = "",
  params = "", ...)

Arguments

env_name

Name of environment

env_file

Environment definition file (default: environment.yml)

env_path

Full path to environment prefix

params

Extra command line parameters of conda

...

Parameters pass to conda

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
  conda.env.create(params = 'vader/deathstar')
  conda.env.create(env_name = 'name')
  conda.env.create(env_file = '/path/to/environment.yml')
  conda.env.create(env_name = 'deathstar',
                   env_file = '/path/to/requirements.txt')
  conda.env.create(env_file = '/path/to/requirements.txt',
  env_path = '/home/user/software/deathstar')

## End(Not run)

BioInstaller documentation built on May 1, 2019, 11:17 p.m.