[Rcpp-devel] Why not export CxxFlags and LdFlags?

Romain François francoisromain at free.fr
Tue Jan 5 09:43:24 CET 2010

On 01/05/2010 06:20 AM, Henning Redestig wrote:
> Hi,
> My question is in the title, if these functions were meant to be
> called from outside Rcpp (such as in a Makevars script of different
> package) why not exporting them so they are reachable via
> Rcpp::CxxFlags() instead of Rcpp:::CxxFlags() ?
> Bit picky perhaps but I just got this pointed out for me at the
> bioconductor-devel list.
> Kind regards,


I guess the main reason is that these functions don't need the package 
to be loaded to run.

If you submit a patch (including documentation) I'll review it, unless 
Dirk has stronger reasons not to export them.


Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
|- http://tr.im/IW9B : C++ exceptions at the R level
|- http://tr.im/IlMh : CPP package: exposing C++ objects
`- http://tr.im/HlX9 : new package : bibtex

More information about the Rcpp-devel mailing list