writeCX: Write RCX to file

Description Usage Arguments Value See Also Examples

View source: R/Json-toJson.R

Description

These function write an RCX object or a CX object to a file.

Usage

1
2
3
4
5
6
7
writeCX(x, file, verbose = FALSE, pretty = FALSE)

## S3 method for class 'RCX'
writeCX(x, file, verbose = FALSE, pretty = FALSE)

## S3 method for class 'CX'
writeCX(x, file, verbose = FALSE, pretty = FALSE)

Arguments

x

RCX or CX object

file

character; the name of the file to which the data are written

verbose

logical; whether to print what is happening

pretty

logical; adds indentation whitespace to JSON output. Can be TRUE/FALSE or a number specifying the number of spaces to indent. See jsonlite::prettify()

Value

file character; the name of the file to which the data were written

See Also

toCX, rcxToJson, readCX

Examples

1

frankkramer-lab/RCX documentation built on Feb. 8, 2022, 9:53 p.m.