[S] Problem reading large files.

Thu, 15 Oct 98 21:16 EDT

I am running S-PLUS Version 3.4 Release 1 for Silicon Graphics Iris, IRIX 5.3.
i have a large ascii file, over 100,000 lines long, one number on each line:
0.042228 etc etc...
When I try to read this in:
my.vector _ scan("my.file") I get the error message:
Error in scan....Cannot allocate 5242880 bytes: options("object.size")
is 5000000: see options help file...

So I did:
options(object.size=10000000) and even much larger numbers,
but s-plus keeps complaining; e.g.:

Cannot allocate 167772160 bytes:
options("object.size") is 100000000: see options help file
and so on.

If I use much higher than 10000000, it seems to jam our shared UNIX facility.

100,000 is not that large, so it should be possible to read this in,
convert it to a matrix, etc.

Any suggestions?

Thanks in advance,
Andrey Feuerverger / Dept Statistics / Univ or Toronto

This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news