2.7 Saving a dataset in R format

Once you have imported your data into R, and perhaps also done some data processing steps, you may want to save it in R’s format for future use.

save(RheumArth, file = "RheumArth_working.RData")

To later load that data, use load:

# NOTE: The dataset could have any name, not necessarily the 
# name of the file in your computer. It will be called whatever
# it was called in R when you saved it.
load("RheumArth_working.RData")