Learn R Programming

QurvE (version 1.1.1)

export_RData: Export an R object as .RData file

Description

Export an R object as .RData file

Usage

export_RData(object, out.dir = tempdir(), out.nm = class(object))

Value

NULL

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

Run this code
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