1.8 Script and Data Files
Script files have file association .R'' while the data can be stored in
.RData’’.
To save and open ``.R’’ file, simply save and open using the RStudio.
To save and open RData file, we have the following code:
save.image("XXX.Rdata")
load("XXX.Rdata")