dump(list, fileout="dumpdata", full.precision = T)
The mode of numeric data may be changed due to a dump/restore sequence and the restoration of large data objects that were created by dump may take inordinate amounts of memory. The functions data.dump and data.restore are recommended and have none of these drawbacks.
This function can also be used to create a backup file of important data.
dump(ls(), "all.files") dump(c("x", "y", "reg.xy"))