You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* dummy renamed to II to avoid problems with g++ on Solaris */voidR_qsort (double *v, size_t i, size_t j);
voidR_qsort_I (double *v, int *II, int i, int j);
voidR_qsort_int (int *iv, size_t i, size_t j);
voidR_qsort_int_I(int *iv, int *II, int i, int j);
#definerevsort Rf_revsort
#defineiPsort Rf_iPsort
#definerPsort Rf_rPsort
#definecPsort Rf_cPsort
/* ../../main/sort.c : */voidR_isort(int*, int);
voidR_rsort(double*, int);
voidR_csort(Rcomplex*, int);
voidrsort_with_index(double *, int *, int);
voidrevsort(double*, int*, int);/* reverse; sort i[] alongside */voidiPsort(int*, int, int);
voidrPsort(double*, int, int);
voidcPsort(Rcomplex*, int, int);
/* C version of R's indx <- order(..., na.last, decreasing) :e.g. arglist = Rf_lang2(x,y) or Rf_lang3(x,y,z) */voidR_orderVector (int *indx, int n, SEXP arglist, Rboolean nalast, Rboolean decreasing);
// C version of R's indx <- order(x, na.last, decreasing) :voidR_orderVector1(int *indx, int n, SEXP x, Rboolean nalast, Rboolean decreasing);
Misc
SEXP Rf_allocSExp(SEXPTYPE);
R_xlen_t Rf_any_duplicated(SEXP x, Rboolean from_last);
R_xlen_t Rf_any_duplicated3(SEXP x, SEXP incomp, Rboolean from_last);
SEXP Rf_applyClosure(SEXP, SEXP, SEXP, SEXP, SEXP);
SEXP Rf_cons(SEXP, SEXP);
intRf_countContexts(int, int);
SEXP Rf_CreateTag(SEXP);
SEXP Rf_GetOption(SEXP, SEXP); /* pre-2.13.0 compatibility */
SEXP Rf_GetOption1(SEXP);
intRf_GetOptionDigits(void);
intRf_GetOptionWidth(void);
voidRf_gsetVar(SEXP, SEXP, SEXP);
bSEXP Rf_installS3Signature(constchar *, constchar *);
Rboolean Rf_isFree(SEXP);
Rboolean Rf_isUnsorted(SEXP, Rboolean);
SEXP Rf_namesgets(SEXP, SEXP);
Rboolean Rf_pmatch(SEXP, SEXP, Rboolean);
Rboolean Rf_psmatch(constchar *, constchar *, Rboolean);
voidRf_readS3VarsFromFrame(SEXP, SEXP*, SEXP*, SEXP*, SEXP*, SEXP*, SEXP*);
voidRf_setSVector(SEXP*, int, SEXP);
voidRf_setVar(SEXP, SEXP, SEXP);
SEXP Rf_substitute(SEXP,SEXP);
// match vectors
SEXP Rf_match(SEXP itable, SEXP ix, int no_match);
SEXP Rf_matchE(SEXP itable, SEXP ix, int no_match, SEXP env);
// env is used to look up as.character when translating POSIXlt// seems unlikely you'd ever need to use this variant/* Shutdown actions */voidR_dot_Last(void); /* in main.c */voidR_RunExitFinalizers(void); /* in memory.c *//* Replacements for popen and system */
#ifdef HAVE_POPEN
FILE *R_popen(constchar *, constchar *);
#endifintR_system(constchar *);
/* R_compute_identical: C version of identical() functionThe third arg to R_compute_identical() consists of bitmapped flags for non-default options:currently the first 4 and the 6th default to TRUE, so the flag is set for FALSE values:1 = !NUM_EQ2 = !SINGLE_NA4 = !ATTR_AS_SET8 = !IGNORE_BYTECODE16 = !IGNORE_ENV32 = !IGNORE_SRCREFDefault from R's default: 16 = (0 + 0 + 0 + 0 + 16 + 0)*/
Rboolean R_compute_identical(SEXP, SEXP, int);
Rboolean Rf_conformable(SEXP, SEXP);
SEXP Rf_elt(SEXP, int);
Rboolean Rf_isTs(SEXP);
Rboolean Rf_isUserBinop(SEXP);
SEXP Rf_lastElt(SEXP);
SEXP Rf_lcons(SEXP, SEXP);
intRf_stringPositionTr(SEXP, constchar *);
SEXP R_FixupRHS(SEXP x, SEXP y);
#defineIndexWidth Rf_IndexWidth
#definesetIVector Rf_setIVector
voidsetIVector(int*, int, int);
#definesetRVector Rf_setRVector
voidsetRVector(double*, int, double);
/* These two are guaranteed to use '.' as the decimal point,and to accept "NA".*/doubleR_atof(constchar *str);
doubleR_strtod(constchar *c, char **end);
char *R_tmpnam(constchar *prefix, constchar *tempdir);
char *R_tmpnam2(constchar *prefix, constchar *tempdir, constchar *fileext);
voidR_CheckUserInterrupt(void);
voidR_CheckStack(void);
voidR_CheckStack2(size_t);
/* ../../appl/interv.c: also in Applic.h */intfindInterval(double *xt, int n, double x,
Rboolean rightmost_closed, Rboolean all_inside, int ilo,
int *mflag);
voidfind_interv_vec(double *xt, int *n, double *x, int *nx,
int *rightmost_closed, int *all_inside, int *indx);
/* ../../appl/maxcol.c: also in Applic.h */voidR_max_col(double *matrix, int *nr, int *nc, int *maxes, int *ties_meth);