install_tfds: Installs TensorFlow Datasets

Description Usage Arguments

View source: R/install.R

Description

Installs TensorFlow Datasets

Usage

1
2
3
4
5
6
7
8
9
install_tfds(
  method = c("auto", "virtualenv", "conda"),
  conda = "auto",
  version = "default",
  envname = NULL,
  restart_session = TRUE,
  conda_python_version = NULL,
  ...
)

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 privilege the "system" method is available only on Windows.

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

By default the latest PyPi version will be installed.

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

envname

Name of Python environment to install within

restart_session

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

conda_python_version

the python version installed in the created conda environment. Python 3.6 is installed by default.

...

other arguments passed to reticulate::conda_install() or reticulate::virtualenv_install().


rstudio/tfds documentation built on Nov. 25, 2021, 6:20 p.m.