Displaying 3 results from an estimated 3 matches for "efficeint".
Did you mean:
efficeintly
2017 Mar 20
1
Fwd: Possible memory problems with mallloc when called with .C()
Hello,
I'm trying to calculate a certain distance estimator for my thesis. I have a
program in C that works fine when I call it with .C() in R, but since
I'm dealing with big matrices like 30000x20000 it was getting a stack
overflow. Now I have the same program but more efficeintly coded using
malloc, and it works perfectlry in C, compiles well with R CMD SHLIB
but when I call it with .C() my pc basicly stops working independantly
of the size of the matrices involved.
The C code is the following (sorry it is a bit long):
#include <stdio.h>
#include <stdli...
2010 Dec 10
0
R question: memory usage
Hi
I have a large R progress that that is constently running into memory
issues, I am trying to rewrite some of the code to make more efficeint
However, one thing I have found is that the memory usage shown by gc() is
very different from what i see from unix termilnal
Garbage collection 2047 = 1398+243+406 (level 2) ...
12.4 Mbytes of cons cells used (3%)
998.6 Mbytes of vectors used (23%)
used (Mb) gc trigger (Mb) max us...
2010 Dec 11
0
is there a packge or code to generate markov chains in R
...t r-project.org
Subject: [R] R question: memory usage
Message-ID:
<AANLkTimMP1NibCS4xpK_zSwhhuSG=nis5EegLrZGHmbv at mail.gmail.com>
Content-Type: text/plain
Hi
I have a large R progress that that is constently running into memory
issues, I am trying to rewrite some of the code to make more efficeint
However, one thing I have found is that the memory usage shown by gc() is
very different from what i see from unix termilnal
Garbage collection 2047 = 1398+243+406 (level 2) ...
12.4 Mbytes of cons cells used (3%)
998.6 Mbytes of vectors used (23%)
used (Mb) gc trigger (Mb) max us...