inst/doc/python.R

## ----setup, include=FALSE-----------------------------------------------------
### run with: 
#DBSCAN_RUN_PYTHON_VIGNETTE=true Rscript -e 'rmarkdown::render("vignettes/python.Rmd")'

run_python <- identical(
  tolower(Sys.getenv("DBSCAN_RUN_PYTHON_VIGNETTE")),
  "true"
)
knitr::opts_chunk$set(collapse = TRUE, comment = "#>")

if (run_python) {
  Sys.setenv(RETICULATE_PYTHON = "managed")
  reticulate::py_require(c("numpy", "pandas", "rpy2"))
}

Try the dbscan package in your browser

Any scripts or data that you put into this service are public.

dbscan documentation built on Oct. 5, 2026, 9:07 a.m.