Skip to content
Prev 42717 / 63424 Next

Calling FORTRAN function from R issue?

On 06/03/2012 06:28, Berwin A Turlach wrote:
...
As I said elsewhere in this thread, this really is very 
compiler-specific, and rather than being a bug, that header is not 
appropriate to the compilers used (it came from the days of f2c and 
Fortran compilers based on it such as g77).

I'll change the sources to follow your patch as I think it is much more 
likely to be correct these days, but also add a warning in the header.
I don't think it is safe to call these functions from C without 
configure-testing the effect.