Skip to content
Prev 43985 / 398525 Next

The ttest.c example in R under MS Windows

On Tue, 10 Feb 2004 14:27:21 +0100, Lennart.Borgman at astrazeneca.com
wrote :
There's some general information about this sort of thing on my web
page,
<http://www.stats.uwo.ca/faculty/murdoch/software/compilingDLLs/>.

The readme.packages file contains specific instructions about VC++,
but they may be out of date:  I use gcc, and Brian Ripley (who wrote
those instructions) doesn't use Windows as much as he used to.
problem with the calling convention, as described on my web page.  You
need to make sure your exports use the C calling convention, not
stdcall.  I don't know how to do that in VC++, but presumably your
fluent helper would.

If you do find what's wrong and it's a case of our documentation being
out of date or incomplete, please write up a description of what works
instead.  This could be incorporated into readme.packages or put up on
my web page.

Duncan Murdoch