Thanks Ivan for the tip. Are there any examples or links for me to follow 
through more closely?



-----Original Message-----
From: Ivan Krylov <> 
Sent: Monday, May 6, 2019 4:14 AM
To: Wang, Zhu <>
Subject: Re: [R-pkg-devel] How to obtain intercept of intercept-only glm in 

On Sat, 4 May 2019 22:41:16 +0000
"Wang, Zhu" <> wrote:

> In an R package I would like to compute intercept for an 
> intercept-only GLM in a Fortran subroutine.

If all else fails, you could use R API [*] to call coef(, though 
it might require writing a C or C++ wrapper to avoid translating all function 
prototypes from Rinternals.h into Fortran 2003 C interoperability syntax.

Best regards,


______________________________________________ mailing list

Reply via email to