Learn R Programming

gen5helper (version 1.0.1)

write.csv_: write.csv without row.names

Description

This function returns the object passed in, can be used for dplyr pipeline.

Usage

write.csv_(x, file)

Arguments

x

object

file

filename for write.csv

Value

whatever object passed in

Examples

Run this code
# NOT RUN {
write.csv_(data.frame(a=1, b=2, c=3), file.path(tempdir(), "data.csv"))

data <- data.frame(a=1, b=2, c=3)
data %>%
    file.path(tempdir(), "data.csv") %>%
    print()
# }

Run the code above in your browser using DataLab