readWriteFirst | R Documentation |
Read first n
lines of filein
and write them
to fileout
, where filein
and fileout
are file
names.
readWriteFirst(filein, fileout, n)
filein |
input file |
fileout |
output file |
n |
number of lines to write |
Cathy Laurie
path <- system.file("extdata", "affy_raw_data", package="GWASdata")
file <- paste(path, list.files(path)[1], sep="/")
outf <- tempfile()
readWriteFirst(file, outf, 20)
file.remove(outf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.