Save Data

Description


Saves a data frame to file. A number of different file formats are supported, including:

File TypeExtension
R workspace*.rda and *.rdata
R object*.robj
Comma seperated*.csv
Tab delimited*.txt
DBase*.dbf
Stata*.dta
ARFF*.arff

Dialog


To save as a specific file type, select it from the filter list. Alternatively, simply append the appropriate extension to the file name (e.g. .csv or .dbf).

R Code

This Dialog uses the following R functions:

save
dput
write.table
write.dta
write.dbf
write.arff