Uffe's DLL examples

Here you can find little examples - in the 'Hello, world!' style - of making DLL's in a few development environments:

I test the DLL's by calling the from R.

In addition, here is an example of how to define classes in C++ and make objects accesible to R


Why do I care about DLL's?

Because it has happened to me on a number of occasions that colleagues ask me about some mathematical problem and I find that the best answer is to provide a little algorithm which does the analysis. The algorithm is typically written in another language and with another development tool than the rest of their application, so simply passing on a DLL is the cleanest interface.

This also implies that I focus on DLL's which contain little number-crunching functions.