Textual Serialization
We can serialize an object into a file with all the metadata.
Write object into file
data <- data.frame(a=1, b=2)
dput(data, file="data.R")
Read object from file
newData <- dget("data.R")
Reading and writting multiple objects
dump and source functions are used to read and write multiple objects.
Last updated
Was this helpful?