py_depend: Install Python Dependencies

Description Usage Arguments Value Examples

View source: R/helper_funcs.R

Description

This function installs needed python libraries into the specified conda environment OR virtual environment. Should be the same as the one specified in set_python. Required python libraries: matplotlib, numpy, pandas, pathos, scipy and sympy On CentOS 7 pandas & scipy may need to be installed with pip install from the command line. Will get the error: /lib/libstdc++.so.6: version ‘CXXABI_1.3.9’ not found See vignette for more information.

Usage

1
py_depend(condaenv = NULL, virtualenv = NULL)

Arguments

condaenv

Name of conda environment to install python libraries to. Default: NULL

virtualenv

Name of virtual environment to install python libraries to. Default: NULL

Value

None

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# Cond env
py_depend(condaenv = "r-reticulate", 
    virtualenv = NULL)
# virtualenv:
py_depend(virtualenv = "r-reticulate", 
    condaenv = NULL)

## End(Not run)

PressPurt documentation built on Oct. 23, 2020, 8:07 p.m.