indexing function

Read records from a large file object into R