Learn R Programming

CUFF (version 1.9)

to_csv: Export into a csv file with a format csv companions for factors

Description

This functions export a data frame into a csv file with a csv companion file containing formats to properly reimport data into R.

Usage

column_types(data)
to_csv(data, file)

Value

returns nothing

Arguments

data

A data.frame containing data to export

file

Name of the csv file to export to

Author

Charles-Édouard Giguère

Examples

Run this code
# to_csv(iris,"iris.csv")

Run the code above in your browser using DataLab