powered by
Export an R object as .RData file
export_RData(object, out.dir = tempdir(), out.nm = class(object))
NULL
An R object.
The path to the output directory. Default: the working directory
The output filename (with or without '.RData' ending). Default: the class of object followed by '.RData'.
object
if(interactive()){ df <- data.frame('A' = seq(1:10), 'B' = rev(seq(1:10))) export_RData(df) }
Run the code above in your browser using DataLab