Re: [R] Building a what list for scan to use

2010-05-31 Thread Duncan Murdoch
On 31/05/2010 7:07 AM, Alex van der Spek wrote: Using read.table now on large files. Scan should be faster reading and parsing the files if a 'what' list is provided. How would I generate a what list that repeats the the last 4 elements n (n=14 or 10 or 8) times? whatlist=list(Tstamp="",Cond

[R] Building a what list for scan to use

2010-05-31 Thread Alex van der Spek
Using read.table now on large files. Scan should be faster reading and parsing the files if a 'what' list is provided. How would I generate a what list that repeats the the last 4 elements n (n=14 or 10 or 8) times? whatlist=list(Tstamp="",Condition=0,A1=0,B1=0,C1=0,D1=0) All are numeric, ei