dtsmartr: dtsmartr - Interactive virtualized data explorer grid widget

View source: R/dtsmartr.R

dtsmartrR Documentation

dtsmartr - Interactive virtualized data explorer grid widget

Description

Renders a high-performance, virtualized data grid powered by React to explore datasets, filter dynamically, and generate reproducible queries.

Usage

dtsmartr(
  data,
  width = NULL,
  height = NULL,
  elementId = NULL,
  datasetName = NULL,
  options = dtsmartr_options(),
  skip_routing = FALSE
)

Arguments

data

A data.frame to explore.

width

Widget width. Defaults to "100%".

height

Widget height. Defaults to "100vh" (full screen/viewport).

elementId

CSS ID for the widget container.

datasetName

Custom string name representing the dataset in generated reproducible code. If omitted, automatically extracts the R variable name.

options

Named list of UI options generated by dtsmartr_options().

skip_routing

Logical. Internal flag used by save_dtsmartr() to bypass the automatic re-routing to dtsmartr_launch() for large datasets. End users should not set this parameter. Defaults to FALSE.

Value

An object of class htmlwidget (and sub-class dtsmartr) representing the interactive virtualized grid. In interactive R sessions, this will display the explorer in the RStudio/Positron Viewer pane or system browser.

Examples

if (interactive()) {
  dtsmartr(mtcars, options = dtsmartr_options(hidden_columns = "cyl"))
}


dtsmartr documentation built on June 17, 2026, 1:08 a.m.