Skip to content
Prev 59371 / 63424 Next

From .Fortran to .Call?

As the proverbial naive R (ab)user I?m left wondering:

        o  if I updated my quantreg_init.c file in accordance with Bill?s
suggestion could I
        then simply change my .Fortran calls to .Call?

No.  .Call(C_func, arg1, arg2) expects C_func's arguments to all be SEXP*
(pointers to R objects), never the double* or the like that .Fortran
expects.

-Bill

On Wed, Dec 23, 2020 at 3:58 AM Koenker, Roger W <rkoenker at illinois.edu>
wrote: