You should look at the code in the "foreign" package, which is largely about reading data into C -thomas Thomas Lumley Assoc. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle