search for: wazzattherightname

Displaying 1 result from an estimated 1 matches for "wazzattherightname".

2000 Mar 22
1
scan question
Hi In R 0.90.1 is there a way of stopping scan() from rewinding to the beginning of the file? Basically I have a mega-file (250Mb!!!) that I want to read and process in 301 line chunks, each line having 151 numbers on it. If I do for (i in 1:many){ pp<-scan('filename',skip=(i-1)*301,nlines=301) } it appears to do what I want but as the chunks get further down the file it gets