[R] Error: cannot allocate vector of size xxx
R. Michael Weylandt <michael.weylandt@gmail.com>
michael.weylandt at gmail.com
Thu Sep 22 06:00:15 CEST 2011
Are you running a 32bit or 64bit version of R? Type sessionInfo() to see.
Michael
On Sep 21, 2011, at 10:41 PM, Mario Montecinos Carvajal <mariomontecinos at gmail.com> wrote:
> Hi
>
> I am a new user of the mail list.
>
> Mi problem occurs when I try to test a lineal model (lm), becouse appear the
> messaje "Error: cannot allocate vector of size xxx"
>
> The data frame whit I am working, Have
>
>> dim(d)
> [1] 70174 11
>
> and the function i am test is:
>
> lm(length~as.factor(age)*as.factor(year)*as.factor(sex)*soi*k,data=d[d$age
> %in% minage:maxage,])
>
> I tried with a diferent options for solve this problem, but any one give me
> results.
>
> I tried with:
>
> Change in Function: memory.limit(size=4000)
>
> Change the setting in Windows using BCDEdit /set
>
> Change in the memory availability for R, change the path of the program
> (suggested for other user)
>
> My computer have 4GB RAM, Have 20 GB of Virtual Memory, HDD 300 GB with 200
> GB of free space and Windows 7 as OS and my R version is 2.11.1
>
> I need solve this problem, any help or suggestion will be very well
> received.
>
> I've been thinking in change the OS, but this is may last option.
>
> Regards
>
> I read
>
>
> --
> Mario Montecinos C.
> Biologo Marino
> Dr (c) en Ciencias
> Universidad Austral de Chile
>
>
> Los acentos han sido omitidos voluntariamente para evitar incompatibilidades
> Evite enviar cartas impresas, cuidemos el medio ambiente y evitemos el
> uso innecesario de papel.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
More information about the R-help
mailing list