Displaying 2 results from an estimated 2 matches for "my_c_module".
2007 Feb 21
2
R unstable and crashes after executing .C
...to do ANYTHING with a relatively large object (creating a new one or even just writing the name of an existing one).
I use R 2.4.0 under a Linux machine with 1 GB RAM. Below there is an example of execution, so you can get an idea of what is happening:
--------------------
dyn.load("my_C_module.so");
res <- .C("my_C_function",.....); #The function executes fine and res is ok
dyn.unload("my_C_module.so") #I know this isn't strictly necessary
#Here R is still running, but when I execute:
m <- matrix(0,1000,100); #I try to create a new object and...
2007 Feb 21
1
R unstable and crashes after executing .C
...r I try to do ANYTHING with a relatively large object (creating a new one or even just writing the name of an existing one).
I use R 2.4.0 under a Linux machine with 1 GB RAM. Below there is an example of execution, so you can get an idea of what is happening:
--------------------
dyn.load("my_C_module.so");
res <- .C("my_C_function",.....); #The function executes fine and res is ok
dyn.unload("my_C_module.so") #I know this isn't strictly necessary
#Here R is still running, but when I execute:
m <- matrix(0,1000,100); #I try to create a new object and R crashe...