Re: [Rd] How to call DBLEPR in Fortran code to be used by R

2010-12-10 Thread Duncan Murdoch
On 09/12/2010 1:11 PM, Marian K Talbert wrote: Hi I've built a dll using Fortran code and can call it by either R or Fortran. Calling by the former gives me the wrong answer and the later gives the correct answer. That sounds like a type problem. Are you using double precision variables?

[Rd] How to call DBLEPR in Fortran code to be used by R

2010-12-10 Thread Marian K Talbert
Hi I've built a dll using Fortran code and can call it by either R or Fortran. Calling by the former gives me the wrong answer and the later gives the correct answer. From what I've read, it looks like I should use the subroutines DBLEPR, INTPR and REALPR to get values to show up in R which