dput(x, file) dget(file)
dget returns the contents of file.
Any side effects in file are performed by dget.
The dput function is generic and has a method for objects of class "formula".
Note also that exact equality of read-in numeric data cannot be guaranteed across machines.
For large objects, dget may use prohibitively large amounts of memory. See data.dump and data.restore.
dput(abc, "oldabc") # store abc on file oldabc def <- dget("oldabc") # read back in