install_docling: Install the Docling Python backend

View source: R/install.R

install_doclingR Documentation

Install the Docling Python backend

Description

Installs the docling Python package (and its dependencies) into a 'reticulate'-managed environment. This is a thin wrapper around reticulate::py_install() that you typically run once after installing doclingr.

Usage

install_docling(
  envname = "r-docling",
  method = c("auto", "virtualenv", "conda"),
  extra = NULL,
  ...
)

Arguments

envname

Name of, or path to, the target Python environment. Defaults to "r-docling", created on first use.

method

Installation method passed to reticulate::py_install(): one of "auto", "virtualenv", or "conda".

extra

Optional character vector of additional pip/conda specs to install alongside Docling (for example "docling[ocr]" or a pinned version such as "docling==2.0.0").

...

Further arguments forwarded to reticulate::py_install().

Value

Invisibly NULL, called for its side effect.

See Also

docling_available(), docling_convert()


doclingr documentation built on Oct. 28, 2026, 1:07 a.m.