dtsmartr_launch: Launch the dtsmartr Data Explorer in your default Web Browser

View source: R/dtsmartr_launch.R

dtsmartr_launchR Documentation

Launch the dtsmartr Data Explorer in your default Web Browser

Description

Launches a temporary, lightweight Shiny server in the background and opens the interactive grid in your default external web browser. This bypasses local browser origin security policies (CORS) that block ⁠file://⁠ resources.

Usage

dtsmartr_launch(data = NULL, port = NULL, options = dtsmartr_options())

Arguments

data

A data.frame to explore, or NULL (default) to launch the Zero-Code Data Ingestion Wizard.

port

Optional port number. If NULL (default), a free port is chosen automatically.

options

Named list of UI options generated by dtsmartr_options().

Details

Zero-Code Ingestion Wizard (Wizard Mode)

When data = NULL (default), the Shiny server boots into Wizard Mode. An interactive interface (powered by the datamods package) allows users to upload local files (CSV, Excel, SAS, RDS). It also features direct "View" and "Update" panels to verify and customize columns or variable classes before loading.

Once a file is successfully uploaded and confirmed, the wizard parses the dataset and feeds it directly into the React-powered virtualized grid explorer.

Value

No return value, called for the side effect of starting a local background Shiny application and opening it in the default web browser.

Examples

if (interactive()) {
  # 1. Launch wizard mode to upload local files
  dtsmartr_launch()

  # 2. Launch directly with a dataset
  dtsmartr_launch(mtcars)
}

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