Skip to content
Prev 58896 / 398502 Next

problem building an R package under Windows XP with calls to NAG C routines

On Thu, 11 Nov 2004 11:19:25 -0800, "Romain Neugebauer"
<romain at berkeley.edu> wrote :
What I meant by "patches" was corrections to the readme.packages file.
The instructions there are not actively maintained, so they may apply
to an obsolete version of MSVC, or may be incomplete, or may just
contain errors.  Now that things are (almost) working for you, go back
and read the instructions and see if you can improve on them; when
you've done that, send me a copy of the changes (using the "patch"
program if you know how, or just sending me a full copy of the updated
file).

More comments intermixed with your letter below...
Read the Writing R Extensions manual to find out how to do output
using Rprintf.
Actually, the .def file is instructions to the linker, telling it
which functions in the DLL that you're producing should be made
visible to callers.  R will only see functions if they are made
visible, and the MS linker chooses what to make visible based on the
.def file.

Duncan Murdoch