Displaying 2 results from an estimated 2 matches for "mycfun".
Did you mean:
my_fun
2012 Oct 31
2
R crashing after successfully running compiled code
...without problems, dynamically loads within the R
workspace with no problems, and even runs and gives correct results with
no problems.
However, R will randomly crash within a few minutes of successfully using
the compiled function.
For example, if I run my compiled function using:
dyn.load("mycfun.dll")
answer<-.C("mycfun", parameters...), I get a completely sensible
result that gets stored to "answer".
However, if I try to do too many things to "answer", the R exits
without warning.
I've tried dyn.unload in hopes that R would become stable afterward...
1997 May 29
2
R-beta: WISH: For dyn.load()ing, I'd like is.loaded(.) , symbol.C, symbol.For
In S(plus), I can write functions using code fragments like
if(!is.loaded(symbol.C("my_C_fun")))
dyn.load("......../my_C_fun.o")
r <- .C("my_C_fun",
x = x,
n = n,
...
)
which I would like to have in R, too.
The S-plus help page on this subject says :
S+>> Code Availability
S+>>
S+>> DESCRIPTION:
S+>> is.loaded