When I call a function in S-Plus
fun.ocgs(ll,uu,0.15,npt)
that calls a C function via .C(), the function appears to execute, but does not
return any results. If I assign the output of the function to a variable and
then try to display the variable I get the following message:
Problem in close(file): only connection objects or character strings meaningful
objects, while calling subroutine _ocgs
Use traceback() to see the call stack.
Can anyone give me some insight as to what is going on?
-Doug
************************************************************************
This e-mail and any attachments may contain confidential and
privileged information. It has been scanned for viruses. If you are
not the intended recipient, please notify the sender immediately by
return e-mail, delete this e-mail and destroy any copies. Any
dissemination, use, review, disclosure, or distribution of this
information by a person other than the intended recipient is
unauthorized and may be illegal.
|