Re: [R] Speeding reading of large file

2012-11-28 Thread Nordlund, Dan (DSHS/RDA)
CWRESEVID CPPRED RESWRES Dan Daniel J. Nordlund Washington State Department of Social and Health Services Planning, Performance, and Accountability Research and Data Analysis Division Olympia, WA 98504-5204 > -Original Message- &g

Re: [R] Speeding reading of large file

2012-11-28 Thread jim holtman
n (DSHS/RDA) wrote: >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- >> project.org] On Behalf Of Fisher Dennis >> Sent: Wednesday, November 28, 2012 11:42 AM >> To: dcarl...@tamu.edu >> Cc: r-help@r-project.org >&g

Re: [R] Speeding reading of large file

2012-11-28 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Fisher Dennis > Sent: Wednesday, November 28, 2012 11:42 AM > To: dcarl...@tamu.edu > Cc: r-help@r-project.org > Subject: Re: [R] Speeding reading

Re: [R] Speeding reading of large file

2012-11-28 Thread David L Carlson
ta frame. --- David > -Original Message- > From: Fisher Dennis [mailto:fis...@plessthan.com] > Sent: Wednesday, November 28, 2012 1:42 PM > To: dcarl...@tamu.edu > Cc: r-help@r-project.org > Subject: Re: [R] Speeding reading of large file > > An interesting app

Re: [R] Speeding reading of large file

2012-11-28 Thread Fisher Dennis
versity > College Station, TX 77843-4352 > >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- >> project.org] On Behalf Of Fisher Dennis >> Sent: Wednesday, November 28, 2012 11:43 AM >> To: r-help@r-project.org >

Re: [R] Speeding reading of large file

2012-11-28 Thread David L Carlson
ge Station, TX 77843-4352 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Fisher Dennis > Sent: Wednesday, November 28, 2012 11:43 AM > To: r-help@r-project.org > Subject: [R] Speeding reading of large

Re: [R] Speeding reading of large file

2012-11-28 Thread Rui Barradas
Hello, Try to convert back to numeric with TEMP[] <- lapply(TEMP, as.numeric) In a small df (1e6 rows, 2 cols) it's 3 times faster than the for loop. Hope this helps, Rui Barradas Em 28-11-2012 17:42, Fisher Dennis escreveu: R 2.15.1 OS X and Windows Colleagues, I have a file that looks t

[R] Speeding reading of large file

2012-11-28 Thread Fisher Dennis
R 2.15.1 OS X and Windows Colleagues, I have a file that looks that this: TABLE NO. 1 PTIDTIMEAMT FORMPERIOD IPRED CWRES EVIDCP PREDRES WRES 2.0010E+03 3.9375E-01 5.E+03 2.E+00 0.E+00 0.E+0