Skip to content

How to call DBLEPR in Fortran code to be used by R

2 messages · Marian K Talbert, Duncan Murdoch

#
On 09/12/2010 1:11 PM, Marian K Talbert wrote:
That sounds like a type problem.  Are you using double precision variables?
You should use

R CMD SHLIB source.f

to compile your Fortran.  Does the example of dblepr in Writing R 
Extensions work for you?

Duncan Murdoch