install_tensorflow

0th

Percentile

Install TensorFlow and it's dependencies

Install TensorFlow and it's dependencies

Usage
install_tensorflow(method = c("auto", "virtualenv", "conda", "system"),
  conda = "auto", version = "default", extra_packages = NULL,
  restart_session = TRUE)
Arguments
method

Installation method. By default, "auto" automatically finds a method that will work in the local environment. Change the default to force a specific installation method. Note that the "virtualenv" method is not available on Windows (as this isn't supported by TensorFlow). Note also that since this command runs without privillege the "system" method is available only on Windows.

conda

Path to conda executable (or "auto" to find conda using the PATH and other conventional install locations).

version

TensorFlow version to install. Specify "default" to install the CPU version of the latest release. Specify "gpu" to install the GPU version of the latest release.

You can also provide a full major.minor.patch specification (e.g. "1.1.0"), appending "-gpu" if you want the GPU version (e.g. "1.1.0-gpu").

Alternatively, you can provide the full URL to an installer binary (e.g. for a nightly binary).

extra_packages

Additional Python packages to install along with TensorFlow.

restart_session

Restart R session after installing (note this will only occur within RStudio).

Aliases
  • install_tensorflow
Documentation reproduced from package tensorflow, version 1.5, License: Apache License 2.0

Community examples

Looks like there are no examples yet.