Learn R Programming

msgpackR (version 1.1)

msgpack.writeResult: the function to save serialized data to file

Description

Save serialized data to file.

Usage

msgpack.writeResult(filename, result)

Arguments

filename
filename that you want to save as
result
serialized data that you want to save

See Also

pack

Examples

Run this code
(data <- c(1,2,3))
#[1] 1 2 3
(d <- pack(data))
#[1] 93 01 02 03
msgpack.writeResult("test.txt", d)

Run the code above in your browser using DataLab