Learn R Programming

thinkr (version 0.16)

save_as_csv: export a data.frame to csv

Description

export a data.frame to csv

Usage

save_as_csv(dataset, path, row.names = FALSE, ...)

Value

file name as character

Arguments

dataset

a data.frame

path

the path

row.names

booleen do we have to save the row names

...

other write.csv parameters

Examples

Run this code

if (FALSE) {
iris %>% save_as_csv(file.path(tempdir(),'coucou.csv')) %>% browseURL()


}

Run the code above in your browser using DataLab