[R][S] library question
Martin Maechler
maechler at stat.math.ethz.ch
Wed Mar 24 15:21:31 CET 2004
>>>>> "Erin" == Erin Hodgess <hodgess at gator.uhd.edu>
>>>>> on Wed, 24 Mar 2004 08:13:01 -0600 writes:
Erin> Dear R and S+ People: Is it possible to take one of
Erin> the R libraries and put it into S+ please?
"libraries" (i.e. a collection of compiled code): definitely not
"as is".
However, I presume you mean "packages".
There, it depends if the package only consists of S code (in the
R dialect). If yes, you often can use most, if not all of the
code in S+.
But do read the FAQ about S and R differences
and consider the fact that for graphics,
the step from R to S-plus is quite a bit of a downgrade,
and code usually will only work if it was written with back
portability in mind ("back" : to S+).
{read all of the above with a bit of humour ..}
Note that R is fully open source, so you can always port R
packages that contain compiled code and data sets, and doing so
can be easy -- but may be not at all:
The C API of R being quite rich nowadays,
you may have to work quite a bit on the source before you can
link the compiled code into S-Plus.
Regards,
Martin
Erin> R Windows XP 1.8.1 S+ Version 6.2
More information about the R-help
mailing list