Learn R Programming

ggvis (version 0.4.9)

ggvis_message: Send a message to ggvis running on client

Description

This will be sent to the client and passed to a handler in ggvis.messages on the client side. The handler is specified by type.

Usage

ggvis_message(session, type, data = NULL, id = NULL)

Arguments

session

A session object.

type

A string representing the type of the message.

data

An object (typically a list) containing information for the client.

id

A unique identifier for ggvis message handler (optional).