s-news
[Top] [All Lists]

dyn.load

To: <s-news@lists.biostat.wustl.edu>
Subject: dyn.load
From: "Juan Ramon Gonzalez" <jrgonzalez@ico.scs.es>
Date: Wed, 5 Sep 2001 16:57:35 +0200
Dear s-users,
 
I need to translate a function of Splus in to R. The function calls a DLL library using the instruction dll.load. In R exists the function 'dyn.load' and I get the following results
> dyn.load("c:/windows/system/my_function.dll")
> is.loaded("my_function")
[1] TRUE
 
but I have problems when I use the  '.Fortran'  function. I get the following message:
 
> .Fortran("my_function",.....)              
Error in .Fortran("my_function") : C/Fortran function name not in load table
 
( where ,....  are the parameters of my_function )
 
I would like to know why it doesn't work
 
Thank you,
 
Juan Ramon
 

 
 
 
<Prev in Thread] Current Thread [Next in Thread>
  • dyn.load, Juan Ramon Gonzalez <=