Learn R Programming

rlist (version 0.4.6.1)

list.unserialize: Unserialize a file

Description

Unserialize a file

Usage

list.unserialize(file, type = tolower(tools::file_ext(file)), ...)

Arguments

file

The file as input

type

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

...

Additional parameters passed to the unserializer function

See Also

list.serialize

Examples

Run this code
# NOT RUN {
list.unserialize('test.dat')
list.unserialize('test.json')
# }

Run the code above in your browser using DataLab