neptune_install: Install neptune-client along with required python enviroment.

View source: R/neptune_install.R

neptune_installR Documentation

Install neptune-client along with required python enviroment.

Description

neptune_install() installs just the neptune-client python package and it's direct dependencies.

Usage

neptune_install(method = c("auto", "virtualenv", "conda"),
  conda = "auto",
  version = "0.16",
  envname = NULL,
  extra_packages = c("psutil"),
  restart_session = TRUE,
  conda_python_version = "3.7",
  ...,
  python_version = conda_python_version)

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.

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

Neptune-client version to install. Valid values include: + '"default"' installs 'r default_version'

+ '"release"' installs the latest release version of neptune-client

+ A version specification like '"0.9"' or '"0.9.16"'. Note that if the patch version is not supplied, the latest patch release is installed

+ The full URL or path to a installer binary or python *.whl file.

envname

The name, or full path, of the environment in which Python packages are to be installed. When NULL (the default), the active environment as set by the RETICULATE_PYTHON_ENV variable will be used; if that is unset, then the r-reticulate environment will be used.

extra_packages

Additional Python packages to install along with Neptune

restart_session

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

conda_python_version

python_version,conda_python_version the python version installed in the created conda environment. Ignored when attempting to install with a Python virtual environment.

...

other arguments passed to [reticulate::conda_install()] or [reticulate::virtualenv_install()], depending on the 'method' used. Accepts 'pip_ignore_installed=TRUE'.

python_version

The requested Python version. Ignored when attempting to install with a Python virtual environment.

Author(s)

Authors:

See Also

Useful links:

Examples

## Not run: 
neptune_install()

## End(Not run)

neptune documentation built on April 13, 2022, 5:14 p.m.