Re: [S] Compile or Encript of functions

Paul Gilbert (
Tue, 11 Aug 1998 13:23:02 -0400

The only way I know to do this is essentially the technique MathSoft uses for
distributing Splus: Write all the interfaces and most of the code in S but take
a critical part(s) of the code and write it in C or fortran with S calls to this
compiled code. Then only distribute the compiled version of this critical part.
You can actually do all your development in S and then extract the important
part when you have everything working. If the algorithm is numerically demanding
you will find this works faster too.

Paul Gilbert

(P.S. There are a lot of sensible people who don't trust algorithms which are
not published. You might want to think about that aspect too.)

This message was distributed by To unsubscribe
send e-mail to with the BODY of the
message: unsubscribe s-news