install_tensorflow: Install the TensorFlow backend
Description
TensorFlow will be installed into an "r-tensorflow" virtual or conda
environment. Note that "virtualenv" is not available on Windows (as this isn't
supported by TensorFlow).
Usage
install_tensorflow(
method = c("conda", "virtualenv"),
conda = "auto",
version = "2.0.0",
extra_packages = NULL,
...
)Arguments
method
Installation method ("conda" or "virtualenv").
conda
The path to a conda executable. Use "auto" to allow
reticulate to automatically find an appropriate conda binary. See
Finding Conda for more details.
version
TensorFlow version to install ( by default, "2.0.0").
extra_packages
Additional PyPI packages to install along with TensorFlow.
Custom Installation
Custom installations of TensorFlow are not supported yet by deepredeff.
Additional Packages
If you wish to add additional PyPI packages to your TensorFlow environment you
can either specify the packages in the extra_packages argument of install_tensorflow(),
or alternatively install them into an existing environment using the
reticulate::py_install() function.
Notice that this may have undesired side-effects on Windows installations.
Examples
Run this code# NOT RUN {
# Default installation
library(deepredeff)
install_tensorflow()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab