[R] Increasing the maximum number of rows
jim holtman
jholtman at gmail.com
Sun May 23 11:31:23 CEST 2010
You are trying to create an object with 1G elements. Given that these
are integers, this will require about 4GB of space. If you are
running on a 32-bit system, which has a total phyical limit of 2-3GB
depending on what options you are running (at least on Windows), then
you have exceeded the limits. It is a good idea to limit your largest
object to about 25% of physical memory in case copies have to be made
during some of the analysis.
On Sat, May 22, 2010 at 10:31 PM, Wu Gong <ghowoo at gmail.com> wrote:
>
> Might there be a limit ?
>
>> c <- matrix(1:100000000, ncol=200)
>> dim(c)
> [1] 500000 200
>> c <- matrix(1:1000000000, ncol=200)
> Error: cannot allocate vector of size 3.7 Gb
>
>
> -----
> A R learner.
> --
> View this message in context: http://r.789695.n4.nabble.com/Increasing-the-maximum-number-of-rows-tp2226950p2227578.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem that you are trying to solve?
More information about the R-help
mailing list