powered by
readLines
ireadLines(con, n=1, ...)
# create an iterator over the lines of COPYING it <- ireadLines(file.path(R.home(), 'COPYING')) nextElem(it) nextElem(it) nextElem(it)
Run the code above in your browser using DataLab