greta_create_conda_env: Create conda environment for greta

View source: R/greta_create_conda_env.R

greta_create_conda_envR Documentation

Create conda environment for greta

Description

This function runs reticulate::conda_create() inside callr::r_process_options(), to create the conda environment, "greta-env-tf2". This is used within install_greta_deps() as part of setting up python dependencies. It uses a version of python that is compatible with the versions of tensorflow and tensorflow-probability, which is established with greta_deps_spec(). We mostly recommend users use install_greta_deps() to manage their python dependency installation.

Usage

greta_create_conda_env(timeout = 5, deps = greta_deps_spec())

Arguments

timeout

time (minutes) until installation stops. Default is 5 minutes.

deps

dependency specification, see greta_deps_spec() for more details.

Value

nothing - creates a conda environment for a specific python version


greta-dev/greta documentation built on Dec. 21, 2024, 5:03 a.m.