[R] Problem with rtest.c

Prof Brian D Ripley ripley at stats.ox.ac.uk
Sat Mar 31 07:16:54 CEST 2001


On Fri, 30 Mar 2001, David Melchior wrote:

> I have some problems with the rtest.c example under gnuwin32\front-ends
>
> I am able to build it and it runs without problems. But when I give it a
command that isn't defined it crashes. This only happens when I build it in then
complicate case where it uses R_ReplDLLdo1().

(Why would you do that?  It is supposed to terminate, if not crash.)

> Any help would be appreciated.

It's just example code to test the building: the README file says
that you need to handle interrupts, and you will also (if you use the
full case) need to arrange how error conditions are handled.

This did work once (terminate normally on error) but it has not been tested
recently.  If you want to do things like this you will need to debug it on
your own system.

You did not say which version of R you are using.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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