error in running R
2
0
Entering edit mode
8.5 years ago
zizigolu ★ 4.3k

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
R software-error • 3.1k views
ADD COMMENT
8
Entering edit mode

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 REPLY
0
Entering edit mode

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

ADD REPLY
3
Entering edit mode
8.5 years ago

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 COMMENT
2
Entering edit mode
8.5 years ago

Your system doesn't have enough memory to successfully execute r command.

ADD COMMENT

Login before adding your answer.

Traffic: 1974 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6