[R] dyn.load'ing dll's created by Scompile causes R to crash

Søren Højsgaard Soren.Hojsgaard at agrsci.dk
Thu Nov 8 10:00:23 CET 2001

Dear all,

I have used the Scompile package (by Mathhew Calder) on previous releases of
R (on Windows), and it has worked well. However, R.1.3.1 crashes when
dyn.load'ing C-functions created by Scompile.

>From the last R-newsletter it seems that there has been some changes to how
external routines are being included in version 1.3.1. I won't claim to
understand the details, but I was wondering whether these changes are the
source of my problem? If so, I would like to know if there is a way of
"getting back" to the old way of doing things such that Scompile can still
be used?

(For those who don't know Scompile, it is a package which takes an R/Splus
function and converts it into C-code. This is subsequently compiled and
loaded into R/Splus. The homepage of Scompile is
It seems that no development has taken place on this package for several

Thanks in advance

Søren Højsgaard
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list