list.serialize: Serialize a list

Description Usage Arguments See Also Examples

View source: R/list.serialize.R

Description

Serialize a list

Usage

1

Arguments

x

list

file

The file for output

type

The type of serialization, including native serializer and json serializer, which is by default determined by file extension

...

Additional parameters passed to the serializer function

See Also

list.unserialize

Examples

1
2
3
4
5
6
## Not run: 
x <- list(a=1,b=2,c=3)
list.serialize(x,'test.dat')
list.serialize(x,'test.json')

## End(Not run)

rlist documentation built on Sept. 5, 2021, 5:30 p.m.