Learn R Programming

LaF (version 0.5)

read_lines-methods: Read lines from the file

Description

Reads the specified lines and columns from the data file.

Note that when scanning through the complete file next_block is much faster. Also note that random file access can be slow (and is always much slower than sequential file access), especially for certain file types such as comma separated. Reading is generally faster when the lines that should be read are sorted.

Arguments