powered by
Write a file from a Filebacked Big Matrix (by parts).
big_write( X, file, every_nrow, ..., ind.row = rows_along(X), ind.col = cols_along(X), progress = FALSE )
Input parameter file, invisibly.
file
An object of class FBM.
File to write to.
Number of rows to write at once.
Other arguments to be passed to data.table::fwrite, except x, file, append, row.names, col.names and showProgress.
x
append
row.names
col.names
showProgress
An optional vector of the row indices that are used. If not specified, all rows are used. Don't use negative indices.
An optional vector of the column indices that are used. If not specified, all columns are used. Don't use negative indices.
Show progress? Default is FALSE.
FALSE
X <- big_attachExtdata() csv <- big_write(X, tempfile(), every_nrow = 100, progress = interactive())
Run the code above in your browser using DataLab