On Sun, Aug 15, 2010 at 10:58:51AM -0400, Data Analytics Corp. wrote: > I have an upcoming project that will involve a large text file. I want to > > 1. read the file into R one line at a time > 2. do some string manipulations on the line > 3. write the line to another text file.
You already got some good advice about how to solve this in R. I would just like to add that many people, including myself, prefer to do all text file scrubbing and especially string manipulations in scripting languages like Python or Perl followed by statistical analysis in R. cu Philipp -- Dr. Philipp Pagel Lehrstuhl für Genomorientierte Bioinformatik Technische Universität München Wissenschaftszentrum Weihenstephan Maximus-von-Imhof-Forum 3 85354 Freising, Germany http://webclu.bio.wzw.tum.de/~pagel/ ______________________________________________ R-help@r-project.org 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.