[R] slightly inconsistent behavior

ivo welch ivowel at gmail.com
Tue Dec 26 19:53:54 CET 2006


dear R experts:

This is just a minor, minor nuisance, but I thought I would point it out:

> dataset <- read.table(file=pipe(cmdline), header =T,
+                   na.strings=c("NaN", "C","I","M", "E"), sep=",",
as.is=T, nrows=99999999);
Error: cannot allocate vector of size 781249 Kb

If I extend nrows by a few more 9's, the error goes away.  Similarly,
if I use much fewer observations, the error goes away.

regards,

/iaw



More information about the R-help mailing list