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).
install_tensorflow(
method = c("conda", "virtualenv"),
conda = "auto",
version = "default",
extra_packages = NULL,
...
)
Installation method ("conda" or "virtualenv").
The path to a conda
executable. Use "auto"
to allow
reticulate
to automatically find an appropriate conda
binary.
See Finding Conda and conda_binary()
for more details.
TensorFlow version to install.
Additional PyPI packages to install along with TensorFlow.
Other arguments passed to reticulate::py_install()
.
Custom installations of TensorFlow are not supported yet by deepredeff.
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.
if (FALSE) {
# Default installation
library(deepredeff)
install_tensorflow()
}