View source: R/list.serialize.R
| list.serialize | R Documentation | 
Serialize a list
list.serialize(x, file, type = tools::file_ext(file), ...)
x | 
 
  | 
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  | 
list.unserialize
## Not run: x <- list(a=1,b=2,c=3) list.serialize(x,'test.dat') list.serialize(x,'test.json') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.