Re: [R] for loop performance

From: Barth B. Riley <>
Date: Thu, 14 Apr 2011 06:50:56 -0500

Thank you Phillip for your post. I am reading in:

  1. a 3 x 100 item parameter file (floating point and integer data)
  2. a 100 x 1000 item response file (integer data)
  3. a 6 x 1000 person parameter file (contains simulation condition information, person measures)
  4. I am then computing several statistics used in subsequent ROC analyses, the AUCs being stored in a 6000 x 15 matrix of floating point numbers

I am using read.table for #1-#3 and write.table for #4. The process of reading files (#1-#3) and writing to file is done over 6,000 iterations.


This transmittal and any attachments may contain PRIVILEGED AND CONFIDENTIAL information and is intended only for the use of the addressee. If you are not the designated recipient, or an employee or agent authorized to deliver such transmittals to the designated recipient, you are hereby notified that any dissemination, copying or publication of this transmittal is strictly prohibited. If you have received this transmittal in error, please notify us immediately by replying to the sender and delete this copy from your system. You may also call us at (309) 827-6026 for assistance. mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 14 Apr 2011 - 11:53:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 14 Apr 2011 - 14:00:29 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive