Re: [R] Trying to load a FORTRAN dll but unable

2016-02-24 Thread MAURICE Jean - externe
Hi Murdoch, I solved my problem ! In fact, the problem is coming from Intel’s FORTRAN and a little from R : You must tell FORTRAN that parameters are sent by reference and R can only work with routine names in lower case and ending with ‘_’ (and this underscore must not be written in the .for

Re: [R] Trying to load a FORTRAN dll but unable

2016-02-24 Thread MAURICE Jean - externe
Hi Murdoch, is.loaded is now working but the routine I call has a bug so I have to rebuilt it ! I am posting a new question on this mailing list ... Many thanks for your help Jean Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destin

Re: [R] Trying to load a FORTRAN dll but unable

2016-02-22 Thread Duncan Murdoch
On 22/02/2016 11:35 AM, MAURICE Jean - externe wrote: Hi Murdoch, Thanks for your quick answer. First : I have a 32 bits R running on a 64 bits Windows. So I think I can load 32bits DLL ? Yes. I haven't understood what I must give to is.loaded as parameter : the name of the DLL, the full

Re: [R] Trying to load a FORTRAN dll but unable

2016-02-22 Thread MAURICE Jean - externe
Hi Murdoch, Thanks for your quick answer. First : I have a 32 bits R running on a 64 bits Windows. So I think I can load 32bits DLL ? I haven't understood what I must give to is.loaded as parameter : the name of the DLL, the full path to it, the name of a routine in it, the value given by dyn

Re: [R] Trying to load a FORTRAN dll but unable

2016-02-22 Thread Duncan Murdoch
On 22/02/2016 10:24 AM, MAURICE Jean - externe wrote: Hi, With this piece of code, I get the message 824 : deelel <- paste(AccesDLL, "/regr.dll",sep="") if ( ! is.loaded(deelel)) The is.loaded function checks for symbols, not libraries. See ?is.loaded for examples. {