This function facilitates the installation of the required Python dependencies for the SpatialDDLS package. It requires a Python interpreter with the TensorFlow Python library and its dependencies. It utilizes the reticulate package and the installer of the tensorflow R package to perform the installation. Conda environments will be used with the new environment being named SpatialDDLS-env. This function is intended to simplify the installation process for SpatialDDLS by automatically installing Miniconda and creating a new environment named SpatialDDLS-env. For users who wish to use a different Python or conda environment, see the tensorflow::use_condaenv function and the package vignettes for more information.
Arguments
- conda
Path to a conda executable. Using
"auto"
(by default) allows reticulate to automatically find an appropriate conda binary.- install.conda
Boolean indicating if installing miniconda automatically by using reticulate. If
TRUE
,conda
argument is ignored.FALSE
by default.- miniconda.path
If
install.conda
isTRUE
, you can set the path where miniconda will be installed. IfNULL
, conda will find automatically the proper place.