- fn
character, file name of the text file to split, if the file is an imcompatible format
the linux command should return an error message to the console
- size
integer, the maximum number of lines for the split parts of the file produced
- same.dir
logical, whether the resulting files should be moved to the same
directory as the original file, or simply left in the working directory [getwd()]
- verbose
logical, whether to report the resulting file names to the console
- suf
character, suffix for the split files, default is 'part', the original file
extension will be appended after this suffix
- win
logical, set to FALSE if running a standard windows setup (cmd.ext), and the file
split will run natively in R. Set to TRUE if you have a unix-alike command system, such as
CygWin, sh.exe, csh.exe, tsh.exe, running, and this will then check to see whether the POSIX
'split' command is present (this provides a speed advantage). If in doubt, windows users
can always set win=TRUE; the only case where this will cause an issue is if there is a
different command installed with the same name (i.e, 'split').