Save a data file
Rdata format.
-
Save variables x & y in the name of "xy.Rdata":
> x <- c(1,2,3,4,6) > y <- c(2,5,7,9,11) > save(x,y,file="c:/YOUR_DIRECTORY/xy.Rdata")
To reopen "xy.Rdata" into R:
> load(file="c:/YOUR_DIRECTORY/xy.Rdata")
[ Going back to Using R: Index ]