installTFpython {SpatialDDLS} | R Documentation |
Install Python dependencies for SpatialDDLS
Description
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.
Usage
installTFpython(
conda = "auto",
python.version = "3.8",
tensorflow.version = "2.6",
install.conda = FALSE,
miniconda.path = NULL
)
Arguments
conda |
Path to a conda executable. Using |
python.version |
Python version to be installed in the environment
( |
tensorflow.version |
Tensorflow version to be installed in the
environment ( |
install.conda |
Boolean indicating if installing miniconda automatically
by using reticulate. If |
miniconda.path |
If |
Value
No return value, called for side effects: installation of conda environment with a Python interpreter and Tensorflow
Examples
## Not run:
notesInstallation <- installTFpython(
conda = "auto", install.conda = TRUE
)
## End(Not run)