save_as_csv: Save_as_csv

Description Usage Arguments Value Examples

View source: R/Save_as_csv.R

Description

A function that saves a dataframe as a .csv file to the working directory and outputs the path of the file (silentlty)

Usage

1
save_as_csv(x, name = "test.csv")

Arguments

x

a data frame

name

an output name

Value

the path of where the file was saved

Examples

1
2
 head <- head(prenoms) #avoid writing 3M lines
 save_as_csv(head,"prenoms.csv")

SebastianS09/ClassPackage documentation built on May 28, 2019, 3:14 p.m.