search for: r_chk_realloc

Displaying 3 results from an estimated 3 matches for "r_chk_realloc".

Did you mean: r_chk_calloc
2003 Dec 05
3
.C() memory allocation
...* Calloc(size_t n, type) ^^^^^^ type* Realloc(any *p, size_t n, type) ^^^^^^ But RS.h makes me think that n should just be an integer giving the number of elements and not necessarily be of type size_t: extern void *R_chk_calloc(size_t, size_t); extern void *R_chk_realloc(void *, size_t); #define Calloc(n, t) (t *) R_chk_calloc( (size_t) (n), sizeof(t) ) #define Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (size_t)((n) * sizeof(t)) ) -------------------------------------------------- Dan Davison Committee on Evolutionary Biology, University of Chicago, U...
2012 Jul 05
1
trouble installing Rmpi on a debian machine
...ion 'mpi_realloc_comm': Rmpi.c:185: error: 'comm' undeclared (first use in this function) Rmpi.c:185: error: 'MPI_Comm' undeclared (first use in this function) Rmpi.c:185: error: expected expression before ')' token Rmpi.c:185: error: expected ';' before 'R_chk_realloc' Rmpi.c:186: error: 'MPI_COMM_NULL' undeclared (first use in this function) Rmpi.c: In function 'mpi_realloc_status': Rmpi.c:199: error: 'status' undeclared (first use in this function) Rmpi.c:199: error: 'MPI_Status' undeclared (first use in this function) Rmpi....
2015 Aug 14
2
Build R on Haiku
Hi R-devel, I'm trying to get R 3.2.1 working on Haiku (an open source OS inspired by BeOS, not Linux based) on i586. With a few small changes to library paths and ifdefs I am able to get a seemingly working R binary. The build process stops with the 'tools' package. The last lines from make are below. Does anyone have any tips? I'm rather new to debugging at this low level. Are