Displaying 1 result from an estimated 1 matches for "segmentart".
Did you mean:
segmentar
2004 Jan 19
1
memory limitation with Fortran interface
...B ~/test.o")
dyn.load("~/test.so")
out.res<- .Fortran("test",
as.integer(n),
as.integer(p)
)
causing R breakdown with the following message :
Segmentation fault
I don't understand why this subroutine causes segmentartion fault
as its execution requires much less memory than what is existing on my
machine (RAM 512 Mo RAM + swap 512 Mo ).
More generally, it seems that memory limitations are stronger
when calling fortran code from R than when executing
the same Fortran subroutine from a bash command line.
Gi...