Slide 80
Slide 80 text
R language — C API — SEXP
• ”It is necessary to know something about how R objects
are handled in C code.
• All the R objects you will deal with will be handled with the
type SEXP, which is a pointer to a structure with typedef
SEXPREC.
• SEXP is an acronym for Simple EXPression, common in
LISP-like language syntaxes.
• Think of this structure as a variant type that can handle all
the usual types of R objects, that is vectors of various
modes, functions, environments, language objects and so
on.”
https://cran.r-project.org/doc/manuals/r-release/R-
exts.html#Calling-_002eCall
80