psp_update: Update (Append) Data in a Perspective Viewer

View source: R/perspective-shiny.R

psp_updateR Documentation

Update (Append) Data in a Perspective Viewer

Description

Sends new rows to be appended to the existing Perspective table.

Usage

psp_update(proxy, data, use_arrow = FALSE)

Arguments

proxy

A perspectiveProxy object.

data

A data.frame of new rows to append.

use_arrow

Logical; use Arrow IPC serialization. Default FALSE.

Value

The proxy object (invisibly), for chaining.

Examples

if (interactive()) {
proxy <- perspectiveProxy(session, "viewer")
psp_update(proxy, new_data)
}


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