[S] Compiling Rpart - Visual C++

Suzanne Cashman (scashman@empnet.com)
Thu, 14 May 1998 12:33:53 -0700

I am trying to make a few adjustments to Rpart & then create a dll to
reference from S+. So far - I haven't tried to make any changes, but am
just trying to compile rpart using MS Visual C++. In compiling, I received
many errors to the effect that it didn't understand the S references (ie
S_alloc etc.) So I added S.h to the include list & a path to it in the
include directories. This helped with a few of the errors, but left
others. Almost all of the warnings are "conversion from 'double' to 'int'"
and there is an error for redefining malloc(). Has anyone else tried to
use rpart with MS Visual C++. What changes did you have to make to get it
to compile?

Once this program is compiled. Is there a way to run it in C, by simply
creating a main() which calls rpart()? What S+ libraries will I have to
link to add to allow it to run? I would like to be able to walk through
the program interactively so that I can test my changes.

Thank you for your help!!!

This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news