Skip to content

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

2 messages · Duncan Murdoch

#
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
#
On Thu, 11 Nov 2004 14:58:53 -0500, Duncan Murdoch
<murdoch at stats.uwo.ca> wrote :
Sorry, this was wrong.  I'm not using or updating the MSVC
instructions in the README.packages file, but Brian Ripley is still
doing so.  They should work, patches are unnecessary.

Duncan Murdoch