Learn R Programming

BERTopic (version 0.1.0)

use_bertopic_virtualenv: Bind current R session to a BERTopic virtualenv

Description

Sets RETICULATE_PYTHON to the Python inside the given virtualenv and initializes reticulate. If reticulate is already initialized to a different Python, this stops with an informative error.

Usage

use_bertopic_virtualenv(envname = "r-bertopic", required = TRUE)

Value

Invisibly returns the Python executable path in the venv.

Arguments

envname

Character. Virtualenv name (default "r-bertopic").

required

Logical. Kept for API symmetry; unused.

Examples

Run this code
if (FALSE) {
use_bertopic_virtualenv("r-bertopic")
}

Run the code above in your browser using DataLab