framework docs
Workflow

view()

View data in an interactive browser viewer

Opens an interactive, browser-based viewer for R objects. This is the primary function for viewing data frames, plots, lists, and other R objects with enhanced formatting.

Usage

view(x, title = NULL, max_rows = 5000)

Arguments

x
The data to view (data.frame, plot, list, function, or other R object)
title
Optional title for the view. If NULL, uses the object name.
max_rows
Maximum number of rows to display for data frames (default: 5000).

Value

Invisibly returns NULL. Opens a browser window.

Examples

if (FALSE) {
# View a data frame
view(mtcars)
# View with a title
view(iris, title = "Iris Dataset")
# View a ggplot
library(ggplot2)
p <- ggplot(mtcars, aes(mpg, hp)) + geom_point()
view(p)
}