powered by
Serialize a list
list.serialize(x, file, type = tools::file_ext(file), ...)
list
The file for output
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
list.unserialize
# NOT RUN { x <- list(a=1,b=2,c=3) list.serialize(x,'test.dat') list.serialize(x,'test.json') # }
Run the code above in your browser using DataLab