Description Usage Format Value See Also Examples
Csv file reader which can read the file row by row
1 |
R6Class
object
Object of R6Class
with methods read csv file row by row
1 2 3 4 5 6 7 8 9 10 11 12 | df <- data.frame(a=1:2, b=c("hello", "world"))
write.csv(df, "hello.csv")
reader <- CsvfReader$new("hello.csv")
reader$readLines(1)
reader$readLines(1)
#' @section Methods:
\describe{
\item{\code{new(...)}}{constructor for creating object, the same arguments as \code{\link{read.csv}}}
\item{\code{readLines(n=1)}}{read \code{n} lines from file}
\item{\code{getColNames()}}{return the column names as a character vector}
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.