Learn R Programming

PressPurt (version 1.0.2)

py_depend: Install Python Dependencies

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

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

Run this code
# NOT RUN {
# Cond env
py_depend(condaenv = "r-reticulate", 
    virtualenv = NULL)
# virtualenv:
py_depend(virtualenv = "r-reticulate", 
    condaenv = NULL)
# }

Run the code above in your browser using DataLab