Lapack.c is loaded with examples.
Try
$ cd
$ grep "F77_CALL" ./src/modules/lapack/Lapack.c
Did you see
5.6 Calling C from FORTRAN and vice versa
in 'Writing R Extensions' ??
On Thu, 20 Oct 2005, James Bullard wrote:
>
> Hello, I had a question about calling some of R's fortran r
"James Bullard" <[EMAIL PROTECTED]> writes:
> Hello, I had a question about calling some of R's fortran routines from C.
> Specifically, I would like to call: dqrfit from some C code which will be
> bundled as an R package. I was hoping someone knew of an example in some
> of R's code which
This is in R-exts. If the Fortran subroutine is called `dqrfit', you would
use something like:
F77_CALL(dqrfit)(...);
All arguments need to be pointers, as Fortran passes by reference.
Andy
> From: James Bullard
>
> Hello, I had a question about calling some of R's fortran
> routines from C.
On Thu, 20 Oct 2005, James Bullard wrote:
>
> Hello, I had a question about calling some of R's fortran routines from C.
> Specifically, I would like to call: dqrfit from some C code which will be
> bundled as an R package. I was hoping someone knew of an example in some
> of R's code which does s
Hello, I had a question about calling some of R's fortran routines from C.
Specifically, I would like to call: dqrfit from some C code which will be
bundled as an R package. I was hoping someone knew of an example in some
of R's code which does something like this (any fortran call from R's