| ireadLines {iterors} | R Documentation | 
Iterator over Lines of Text from a Connection
Description
Returns an iterator over the lines of text from a connection.  It is a
wrapper around the standard readLines function.
Usage
ireadLines(con, n = 1, ...)
Arguments
con | 
 a connection object or a character string.  | 
n | 
 integer. The maximum number of lines to read. Negative values indicate that one should read up to the end of the connection. The default value is 1.  | 
... | 
 passed on to the   | 
Details
Originally from the iterators package.
Value
The line reading iterator.
See Also
Examples
# create an iterator over the lines of COPYING
it <- ireadLines(file.path(R.home(), "COPYING"))
nextOr(it)
nextOr(it)
nextOr(it)
[Package iterors version 1.0 Index]