Displaying 1 result from an estimated 1 matches for "30000x20000".
Did you mean:
20000x20000
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 followin...