install_tensorflow {deepredeff} | R Documentation |
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 |
version |
TensorFlow version to install ( by default, "2.0.0"). |
extra_packages |
Additional PyPI packages to install along with TensorFlow. |
... |
Other arguments passed to |
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
## Not run:
# Default installation
library(deepredeff)
install_tensorflow()
## End(Not run)