Question: error in running R
0
gravatar for F
3.8 years ago by
F3.4k
Iran
F3.4k wrote:

sorry,

what can i do now

> res_aracne <- build.mim(mycounts,estimator = "spearman")
Error: cannot allocate vector of size 7.9 Gb
In addition: Warning messages:
1: In cor(dataset, method = estimator, use = "complete.obs") :
  Reached total allocation of 8088Mb: see help(memory.size)
2: In cor(dataset, method = estimator, use = "complete.obs") :
  Reached total allocation of 8088Mb: see help(memory.size)
3: In cor(dataset, method = estimator, use = "complete.obs") :
  Reached total allocation of 8088Mb: see help(memory.size)
4: In cor(dataset, method = estimator, use = "complete.obs") :
  Reached total allocation of 8088Mb: see help(memory.size)
> help(memory.size)
> memory.size(max = TRUE)
[1] 349.44
> res_aracne <- build.mim(mycounts,estimator = "spearman")
Error: cannot allocate vector of size 7.9 Gb
In addition: Warning messages:
1: In cor(dataset, method = estimator, use = "complete.obs") :
  Reached total allocation of 8088Mb: see help(memory.size)
2: In cor(dataset, method = estimator, use = "complete.obs") :
  Reached total allocation of 8088Mb: see help(memory.size)
3: In cor(dataset, method = estimator, use = "complete.obs") :
  Reached total allocation of 8088Mb: see help(memory.size)
4: In cor(dataset, method = estimator, use = "complete.obs") :
  Reached total allocation of 8088Mb: see help(memory.size)
> memory.size(TRUE)
[1] 349.44

myposts R software error • 1.8k views
ADD COMMENTlink modified 3.8 years ago by cpad011211k • written 3.8 years ago by F3.4k
7

This is about the tenth time I've seen you post a lazy 'help me' . Read the error message and if you don't know what the words mean, look them up. If you refuse to learn how to do your job, then you're in the wrong field. 

ADD REPLYlink written 3.8 years ago by karl.stamm3.5k

about laziness u only a little bit right, because before posting i tried to solve...but i should try more

ADD REPLYlink written 3.8 years ago by F3.4k
3
gravatar for karl.stamm
3.8 years ago by
karl.stamm3.5k
United States
karl.stamm3.5k wrote:

The error message says "cannot allocate vector of size 7.9 Gb"

That means you tried to allocate more memory than the system can handle. Stop doing that. 

ADD COMMENTlink written 3.8 years ago by karl.stamm3.5k
2
gravatar for cpad0112
3.8 years ago by
cpad011211k
India
cpad011211k wrote:
Your system doesn't have enough memory to successfully execute r command.
ADD COMMENTlink written 3.8 years ago by cpad011211k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1820 users visited in the last hour