[R] Using Scompile with R on Linux

carlos carlos at pcweb.net
Mon Jul 19 18:19:03 CEST 1999

I am using R 0.64.2 on Redhat 6.0 Linux and am trying to use R with a
program called Scompile that translates S (or R) code into C code.
Although Scompile has an option for dyn.load.shared, it evidently isn't
exactly equivalent to dyn.load in R, because when compiled using
Scompile, the resulting object causes the complaint by dyn.load that
"ELF file's phentsize not the expected size". Compiling the C code
produced by Scompile with R's SHLIB creates a shared library that
dyn.load's OK, but it seems that the associated library libscompile.a is
not being loaded correctly, as there are now complaints about undefined
symbols. Scompile's syntax is tuned to Solaris, and Linux is probably
different. Has anyone successfully run Scompile with R in Linux and can
offer tips on changing the syntax? 
Thanks in advance for any help.
Carlos Carroll, M.S.
Conservation Biology Institute and
Dept. of Forest Science, Oregon State University
Mailing address: PO Box 104
Orleans, CA 95556
e-mail: carlos at pcweb.net
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