Skip to content
Prev 361782 / 398506 Next

Writing R package that call Fortran codes

Hi Eduardo,

 Thanks for your comments. I haven't tried the way you told me. Now when I
tried, got the following error:

*** caught segfault ***
address 0x0, cause 'memory not mapped'

Traceback:
 1: .Fortran("dataxy", n = as.integer(n), tmax = as.integer(tmax),
alpha = as.double(alpha), beta = as.double(beta), x = as.double(0,
length = n), y = as.double(0, length = n), tau = as.integer(0,
length = n))
 2: out(NULL, NULL, NULL, NULL)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection:

Any suggestions?

Thanks,
Vineetha

On Wed, Jun 15, 2016 at 3:55 PM, Eduardo M. A. M.Mendes <
emammendes at gmail.com> wrote: