[Rcpp-devel] [Bioc-devel] mzR 1.4.0 crashes R at loading

Dirk Eddelbuettel edd at debian.org
Thu Nov 22 23:19:04 CET 2012


On 22 November 2012 at 22:41, Steffen Neumann wrote:
| Hi,
| 
| On Thu, 2012-11-22 at 15:22 -0600, Dirk Eddelbuettel wrote:
| ...
| > But as soon as we change a structure or header somewhere, things potentiall
| > go boom.  We try to be careful, but we are also eager to get new "stuff" out.
| 
| New stuff is great! The problem is if the ABI changes,
| and normal shared libraries have the same problem, I guess.
| There, the dynamic linker somehow solves the problem, 

The dynamic linker is used by the OS.

R has no similar mechanism.

| using the SONAME, and complaining on mismatch. Can there be 
| something similar in R/Rcpp ? Something that'd give a proper 
| error message upon package loading, instead of crashes 
| and frustrated end-users ?

I don't know but I fear not.  

Part of me thinks that if it was easy and generally doable, someone somewhere
in Perl, Python, Ruby, ... land would have done so.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  


More information about the Rcpp-devel mailing list