Le 08/10/13 16:21, Dirk Eddelbuettel a écrit :
On 8 October 2013 at 15:58, Romain Francois wrote:
| But I fear that because too many depend on the current setting (Makevars,
| Makevars.win, making a library and non portably link against it) it is not
| likely to happen.
As I see it, if one were to attempt to provide a drop-in replacement, one
would have to make sure existing use as eg
PKG_LIBS = `$(R_HOME)/bin/Rscript -e "Rcpp:::LdFlags()"`
doesn't fail. A function LdFlags() returning an empty string may suffice.
So this might not be the biggest concern for any transition. Actual drop-in
behaviour might be more of an issue -- but that could be tested for.
Dirk
Sure. As you can imagine, I went ahead and removed the LdFlags ...
functions from Rcpp11.
Of course, this could not be done that fast (perhaps ever) with Rcpp.
This represented quite a chunk of work anyway, and not the most pleasant
kind so I'm not sure I'd commit resources to do something similar in Rcpp.
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel