Not familiar w/ Stata, but these functions read data files and should provide the functionality you wish. ?read.fwf ?read.table ?scan
----- Original Message ----- From: "Anupam Tyagi" <[EMAIL PROTECTED]> To: <r-help@stat.math.ethz.ch> Sent: Monday, September 11, 2006 8:26 AM Subject: [R] Reading fixed column format > How can I read fixed column data (without a delimiter) from a large ASCII > file > directly into R? I want to read non-contiguous variables. I am trying to > avoid > reading it first into a DBMS and then choosing the variables. I would > perfer to > format and label it along while reading if possible. Something like what > STATA > does with dictionary. Anupam. > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.