Export an R object as .RData file
Arguments
- object
An R object.
- out.dir
The path to the output directory. Default: the working directory
- out.nm
The output filename (with or without '.RData' ending). Default: the class of
object
followed by '.RData'.
Examples
if(interactive()){
df <- data.frame('A' = seq(1:10), 'B' = rev(seq(1:10)))
export_RData(df)
}