Learn R Programming

miceadds (version 3.17-44)

save.Rdata: R Utilities: Save a Data Frame in Rdata Format

Description

This function saves a data frame in a Rdata format.

Usage

save.Rdata(dat, name, path=NULL, part.numb=1000)

Arguments

dat

Data frame

name

Name of the R object to be saved

path

Directory for saving the object

part.numb

Number of rows of the data frame which should also be saved in csv format. The default is saving 1000 rows.

Examples

Run this code
if (FALSE) {
dfr <- matrix( 2*1:12-3, 4,3 )
save.Rdata( dfr, "dataframe_test" )
}

Run the code above in your browser using DataLab