Learn R Programming

LaF (version 0.5)

next_block-methods: Read the next block of data from a file.

Description

Reads the next block of lines from a file. The method returns a data.frame. The first line in the data.frame is the line corresponding to the current line in the file. When the end of the file is reached a data.frame with zero rows is returned. This can be used to check whether the end of the file is reached.

Arguments