psp_replace: Replace All Data in a Perspective Viewer

View source: R/perspective-shiny.R

psp_replaceR Documentation

Replace All Data in a Perspective Viewer

Description

Replaces the entire dataset in the Perspective table.

Usage

psp_replace(proxy, data, use_arrow = FALSE)

Arguments

proxy

A perspectiveProxy object.

data

A data.frame containing the replacement data.

use_arrow

Logical; use Arrow IPC serialization. Default FALSE.

Value

The proxy object (invisibly), for chaining.

Examples

if (interactive()) {
proxy <- perspectiveProxy(session, "viewer")
psp_replace(proxy, updated_data)
}


perspectiveR documentation built on March 30, 2026, 9:06 a.m.