search for: s_realloc

Displaying 4 results from an estimated 4 matches for "s_realloc".

Did you mean: p_realloc
1998 Jan 21
2
alloc
...446036| 272|FUNC |GLOB |0 |7 |R_alloc [806] | 693956| 312|FUNC |LOCL |0 |7 |ReallocString [807] | 693220| 736|FUNC |LOCL |0 |7 |ReallocVector [3444] | 446308| 144|FUNC |GLOB |0 |7 |S_alloc [2429] | 446452| 200|FUNC |GLOB |0 |7 |S_realloc ... [2204] | 1445856| 0|FUNC |GLOB |0 |UNDEF |calloc [2595] | 1444644| 0|FUNC |GLOB |0 |UNDEF |malloc [3066] | 1444728| 0|FUNC |GLOB |0 |UNDEF |realloc ... Is there any advantage to calling R_alloc rather than S_alloc? I also see that malloc is UNDEF. Now I'm...
2007 Jun 06
3
C function with unknown output length
Hi all, Could anyone point me to one or more examples in the R sources of a C function that is called without knowing in advance what will be the length (say) of the output vector? To make myself clearer, we have a C function that computes probabilities until their sum gets "close enough" to 1. Hence, the number of probabilities is not known in advance. I would like to have an
2004 Apr 12
1
R 1.9.0 is release
...are passed in. o R_CheckUserInterrupt is now described in `Writing R Extensions' and there is a new equivalent subroutine rchkusr for calling from FORTRAN code. o hsv2rgb and rgb2hsv are newly in the C API. o Salloc and Srealloc are provided in S.h as wrappers for S_alloc and S_realloc, since current S versions use these forms. o The type used for vector lengths is now R_len_t rather than int, to allow for a future change. o The internal header nmath/dpq.h has slightly improved macros R_DT_val() and R_DT_Cval(), a new R_D_LExp() and improved R_DT_log() and R_DT_Clog(...
2004 Apr 12
1
R 1.9.0 is release
...are passed in. o R_CheckUserInterrupt is now described in `Writing R Extensions' and there is a new equivalent subroutine rchkusr for calling from FORTRAN code. o hsv2rgb and rgb2hsv are newly in the C API. o Salloc and Srealloc are provided in S.h as wrappers for S_alloc and S_realloc, since current S versions use these forms. o The type used for vector lengths is now R_len_t rather than int, to allow for a future change. o The internal header nmath/dpq.h has slightly improved macros R_DT_val() and R_DT_Cval(), a new R_D_LExp() and improved R_DT_log() and R_DT_Clog(...