Re: [Rd] Windows 64bit package build requires underscore hack?

From: Dominick Samperi <>
Date: Mon, 05 Jul 2010 20:20:35 -0400

To be more precise, while the build process worked, the check did not. When it got to the point "* checking for portable compilation flags in Makevars ..."
a number of shells popped up (to run c:\Rtools\sh.exe) and the process died. This happens with Rcpp and cxxPack on an AMD machine running Windows 7 (64bit), using the 64bit version of R.

On Mon, Jul 5, 2010 at 7:53 PM, Dominick Samperi <>wrote:

> Hello,
> After much tinkering I managed to build packages using the 64bit version of
> R with the help of hints from
> and
> and
> R-admin Manual.
> But a hack was required, and this seems to be related to
> a comment about underscores at the end of the second
> reference above (but this comment is about FUTURE
> changes in R starting with 2.12.x, and I'm not sure how
> it applies to the current problem using 2.11.1).
> If I simply follow the instructions of the first reference I
> get lots of "cannot export / symbol not defined" errors because
> by default the leading underscore is stripped off during the
> shared library build process, specifically, all names in
> tmp.def (created in share/ do not contain a
> leading underscore.
> If I modify share/ so that the leading underscore
> is not stripped everything works fine.
> Have I missed some documentation explaining what is
> going on here?
> Thanks,
> Dominick

        [[alternative HTML version deleted]] mailing list Received on Tue 06 Jul 2010 - 00:22:21 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 06 Jul 2010 - 07:00:11 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive