Learn R Programming

AnalysisPageServer (version 1.6.2)

encode.datanode: JSON-Encode an AnalysisPageDataNode for the front end

Description

JSON-Encode an AnalysisPageDataNode for the front end. This just calls toJSON, but before doing so it makes sure that $warnings will be sent as an array.

Usage

encode.datanode(datanode)

Arguments

datanode
AnalysisPageDataNode or other object

Value

JSON-encoded string

Details

Mostly this function is only called once, from the $analysis method of an AnalysisPageRAapacheApp.