s-news
[Top] [All Lists]

[S] Splus interface with C

To: s-news@utstat.toronto.edu
Subject: [S] Splus interface with C
From: <msvika@mscc.huji.ac.il>
Date: Wed, 26 Jan 2000 23:18:38 +0200 (WET)
Cc: s-news@wubios.wustl.edu
Sender: owner-s-news@wubios.wustl.edu
I am trying to call a C compiled code to S. It seems to me that I do all
possible by recommendations of several guides (including Modern Applied
Statistics with S+) but even a very simple example don't run in S.
For ex, I write in C  to calculate exp(-x*x/2)
and after "successful" compilation I receive in S:system terminating.bad
address. It's strange for me that the same code that calculates exp(x)
runs well!!!
Where is my mistake?
I'll be glad if somebody have a simple set of training examples with
explanations.
Regards.Viki.

-----------------------------------------------------------------------
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

<Prev in Thread] Current Thread [Next in Thread>