Description Usage Arguments Examples
Function to split big file to a series small files (by row)
1 2 3 4 5 |
filename |
Filename that need to be split |
each_file_lines |
Each file row num |
use_system_split |
Wheather use system split commend |
system_split_params |
When use_system_split, provide the prefix and other params default is 'split' |
write_fun |
Function to read data, default is read.table |
write_params_x |
Parameter name of output object in read.fun |
write_params_file |
Parameter name of input file in read.fun |
write_params |
Other parameters pass to write_fun |
1 2 3 4 | dat <- data.frame(col1 = 1:1000)
outfn <- tempfile()
write.table(dat, outfn, sep = '\t', quote = FALSE, row.names = FALSE)
split_row_file(outfn)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.