SCM

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: hglm - cannot allocate vector of size [ Reply ]
By: Xia Shen on 2014-12-03 11:50
[forum:41699]
Hi Ana,

Thanks for your question, which is now approved in the forum. The error you got indicated that there was not enough RAM to be used for this particular R computation. We suggest you to:

1. Use the latest version of R (64-bit).

2. Increase the limit on the memory uses by using command-line flag --max-mem-size (see FAQs on http://cran.r-project.org/ )

3. If the design matrices are sparse, covert them to sparse matrix object by using Matrix package before using then in hglm.

4. Remove any unnecessary objects from your current workspace.

Best wishes,
hglm developers

hglm - cannot allocate vector of size [ Reply ]
By: Ana Vargas on 2014-12-01 05:41
[forum:41698]
DEar R family

I am trying to running the following model with pedigree information

dim(x1)
[1] 5814 12
dim(L)
5814 5814
m1<-hglm(y=x1$PNC[-idx],X=model.matrix(~x1$SC[-idx]+x1$NP[-idx]+x1$E[-idx]+x1$TN[-idx]),Z=L[-idx,])

Error: cannot allocate vector of size 227.1 Mb

What do I do?

Thank very much in advance

Ana V.



Thanks to:
Vienna University of Economics and Business Powered By FusionForge