s-news
[Top] [All Lists]

Internal error (Splus 6.1 on Windows)

To: s-news@lists.biostat.wustl.edu
Subject: Internal error (Splus 6.1 on Windows)
From: Zhu Wang <zhuw@mail.smu.edu>
Date: Mon, 21 Jun 2004 22:38:15 +0000
Cc: support@insightful.com
In-reply-to: <1C0CCEE45B00E74D8FBBB1AE6A472E85040FFFBA@COBMAIL.ad.cob.ohio-state.edu>
References: <1C0CCEE45B00E74D8FBBB1AE6A472E85040FFFBA@COBMAIL.ad.cob.ohio-state.edu>
Dear S+ers,

I hope someone can help me with an frustrating problem I have. I am
trying to develop a Splus function, which itself uses Fortran code. The
Fortran code was compiled with GNU compiler on "mingw":

g77 -O2 -c file1.f file2.f ... file20.f
dllwrap -o S.dll --export-all-symbols file1.o file2.o ... file20.o -lg2c

Then in Splus,

dyn.open("C:\\directory\\S.dll")

I then use my Splus function "car", which is a continuous time series
model fitting. For the same data, I then tried different order model,
and compared them with my results implemented on R. The problem is that
after I successfully applied the function to several orders, as example,
3, 4, 5, 6, then I got error message for order 7:

> fit <- car(data=sim, order=7)
> fit 

Nothing!

then type
>2+2
Nothing!
then type
>2+2
Engine connection failure - shutting down S-PLUS recommended

>q()

Problem: internal error: trying to set internal exit action in frame 0,
must be between 1 and 4

Error during wrapup: internal error: trying to set internal exit action
in frame 0, must be between 1 and 4
Engine connection failure - shutting down S-PLUS recommended

> traceback()
 Engine connection failure - shutting down S-PLUS recommended

However, if I restart Splus and run order 7 to the data, I had no
problem. But continuing several different order model fitting eventually
resulted the same problem.

#####
I searched the S-plus mailing list, and found that Robert Burbidge had
similar problem when using Finmetric. But I did not find any answer for
the inquiry. Is this my problem or Splus bug?

Thanks, 

-- 
Zhu Wang

Statistical Science Department
Southern Methodist University
Dallas, TX 75275-0332
Phone:(214)768-2453  Fax:(214)768-4035
zhuw@mail.smu.edu


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