CsvfWriter: Csv file writer which can write the file row by row

Description Usage Format Value See Also Examples

Description

Csv file writer which can write the file row by row

Usage

1

Format

R6Class object

Value

Object of R6Class with methods write csv file row by row

See Also

CsvfReader

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
writer <- CsvfWriter$new("hello.csv")
df <- data.frame(a=1:3, b=c("hello", "world", "CsvfWriter"))
writer$writeLines(df)
writer$close()

#' @section Methods
\describe{
  \item{\code{new(...)}}{constructor, the same arguments as \code{\link{write.csv}}}
  \item{\code{writeLines(data)}}{write \code{data} to file}
}

gongliyu/csvfR documentation built on May 21, 2019, 8:01 a.m.