On Tue, 17 Jul 2007, Dimitri Liakhovitski wrote:
> 1. I have a .txt file that has no more than 10 variables and about 3.5
> MILLION cases.
> Can R handle so many cases or should I not even try?
That's only about 300Mb. On a >=4Gb RAM machine it should be fine,
especially if you read it in carefully (not just use read.table without
any options).
> 2. How do I sort cases (e.g., alphabetically) in R and then save the
> sorted results in a new file?
?sort
?write
>
> Thank you!
> Dimitri
>
> ______________________________________________
> R-help at 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.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595