see:    http://finzi.psych.upenn.edu/R/Rhelp02a/archive/92525.html

On 5/23/07, Remigijus Lapinskas <remigijus.lapinskas@mif.vu.lt> wrote:
>
> Dear All,
>
> I am on WindowsXP with 512 MB of RAM, R 2.4.0, and I want to read in a
> big file mln100.txt. The file is 390MB big, it contains a column of 100
> millions integers.
>
> > mln100=scan("mln100.txt")
> Error: cannot allocate vector of size 512000 Kb
> In addition: Warning messages:
> 1: Reached total allocation of 511Mb: see help(memory.size)
> 2: Reached total allocation of 511Mb: see help(memory.size)
>
> In fact, I would be quite happy if I could read, say, every tenth
> integer (line) of the file. Is it possible to do this?
>
> Cheers,
> Rem
>
> ______________________________________________
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

	[[alternative HTML version deleted]]

