Skip to content
Prev 32399 / 398513 Next

help for calling a c program in the windows version R

On Thu, 22 May 2003 13:33:07 -0400, you wrote:

            
"is.loaded" doesn't check for the DLL, it checks for a particular
entry point in the DLL.  Most likely VC is exporting the function
under a different name than you are searching for, or isn't exporting
it at all.

You can view all the exports in a DLL using the Quick View program
that is distributed with some versions of Windows, or using the
objdump program that's in the development tools put together by Brian
Ripley, or using some tool that probably comes with VC.  (With Borland
compilers the tool is called tdump.exe, but I don't know what
Microsoft calls it.)

More help on using DLLs is on my web page,
<http://www.stats.uwo.ca/faculty/murdoch/software/compilingDLLs> and
in the readme.packages file distributed with R.

Duncan Murdoch