toJSArray: Make a JS array from an R object

Description Usage Arguments Value

View source: R/utils.R

Description

Make a JS array from an R object

ToJSArray method

ToJSArray method

ToJSArray method

ToJSArray method

ToJSArray method

ToJSArray method

ToJSArray method

ToJSArray method

ToJSArray method

ToJSArray method

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
toJSArray(x, doBrackets = TRUE)

## Default S3 method:
toJSArray(x, doBrackets = TRUE)

## S3 method for class 'numeric'
toJSArray(x, doBrackets = TRUE)

## S3 method for class 'String'
toJSArray(x, doBrackets = TRUE)

## S3 method for class 'logical'
toJSArray(x, doBrackets = TRUE)

## S3 method for class 'character'
toJSArray(x, doBrackets = TRUE)

## S3 method for class 'factor'
toJSArray(x, doBrackets = TRUE)

## S3 method for class 'Date'
toJSArray(x, doBrackets = TRUE)

## S3 method for class 'matrix'
toJSArray(x, doBrackets = TRUE)

## S3 method for class 'list'
toJSArray(x, doBrackets = TRUE)

## S3 method for class 'data.frame'
toJSArray(x, doBrackets = TRUE)

Arguments

x

R object to make into an array

doBrackets

logical Use brackets in ouput []

Value

JSON encoded value from arrary


gWidgetsWWW2 documentation built on May 31, 2017, 4:35 a.m.