search for: ust5y

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

Did you mean: rusty
2007 Aug 29
4
How to signal the end of the table?
...for (i in 1:number.of.record){ current.row=scan(file=fp, sep=',', what=list(count=1, cusip6="", idate=1, spread=1.1, vol252=1.1, vol1000=1.1, st_debt=1.1, lt_debt=1.1 , total_liab= 1.1, cr=1.1, shrout=1.1, prc=1.1, mkt_cap=1.1, rtng=1.1, sec=1.1, cr3m=1.1, cr5y=1.1, ust3m=1.1, ust5y=1.1), flush=TRUE, nlines=1,quiet=T) ... } I need to know the number of records in the table and put it in the variable named "number.of.records". When I have a new table that I do not know how many records it has, I use excel to open the file to figure it out and put it in variable &...