Displaying 1 result from an estimated 1 matches for "bervalues".
2012 Apr 18
1
C - R integration: Memory Issues
...mall amounts of memory that my code
allocates. Some additional info that might be useful: I have build R
from source with shared libraries enabled and the compiler I use is gcc
version 4.61 in a Ubuntu 11.10 linux machine.
This is my function:
static int prediction(double *berHistory, int berValues, double *ber)
{
SEXP e;
SEXP bers;
SEXP mean;
int i;
int errorOccurred;
static int init = 0;
char *argv[] = {"REmbeddedPostgres", "--gui=none", "--silent"};
int argc = sizeof(argv)/sizeof(argv[0]);
// Init...