https://github.com/cran/multicore
Raw File
Tip revision: 3ea66bd3ecb5f9467b3db36480ee97c06fc001e4 authored by Simon Urbanek on 08 August 1977, 00:00 UTC
version 0.1-7
Tip revision: 3ea66bd
perf.c
/* performance-enhancing functions */

#define USE_RINTERNALS 1

#include <Rinternals.h>

SEXP create_list(SEXP sLength) {
    int len = Rf_asInteger(sLength);
    if (len < 1) len = 0;
    return Rf_allocVector(VECSXP, len);
}

back to top