Read first n lines of filein and write them
to fileout, where filein and fileout are file
readWriteFirst(filein, fileout, n)
number of lines to write
path <- system.file("extdata", "affy_raw_data", package="GWASdata")
file <- paste(path, list.files(path), sep="/")
outf <- tempfile()
readWriteFirst(file, outf, 20)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.