Learn R Programming

fz (version 1.2.0)

fz_install: Install the fz Python Package

Description

This function installs the fz Python package into a virtual environment or conda environment managed by reticulate.

Usage

fz_install(
  packages = "funz-fz",
  method = "auto",
  conda = "auto",
  pip = TRUE,
  ...
)

Value

NULL (invisibly). Called for side effects.

Arguments

packages

Package specification passed to reticulate::py_install(). Default "funz-fz" installs the latest release from PyPI. To track unreleased features, install the latest main branch directly from GitHub with "git+https://github.com/Funz/fz.git".

method

Installation method. Either "auto", "virtualenv", or "conda".

conda

Path to conda executable. Only used when method is "conda".

pip

Logical; use pip for installation? Default is TRUE.

...

Additional arguments passed to reticulate::py_install().

Examples

Run this code
if (FALSE) {
# Install fz in a virtual environment
fz_install()

# Install in a conda environment
fz_install(method = "conda")

# Track the latest main branch on GitHub (unreleased features)
fz_install(packages = "git+https://github.com/Funz/fz.git")
}

Run the code above in your browser using DataLab