Displaying 1 result from an estimated 1 matches for "rkdb".
Did you mean:
rdb
2002 Aug 23
1
R_NilValue blows up on Windows
...c code that's loaded into R as dll on windows:
#include <R.h>
#include <Rdefines.h>
SEXP test1(SEXP col);
SEXP test1(SEXP col)
{
SEXP col2;
Rprintf("no value!\n");
return col2;
}
Compiles ok with bcc32 into a dll, loads into R as part of a library, I
Run library(rkdb), then
> .Call("test1", 2)
no value!
And puf! Rterm crashes.
What's the point of this? I developed a library for connecting to a kdb
database from within R. Similar to RODBC, but faster and more
streamlined for access of real-time tick data. Everything works great,
compiles on...