CXXR (C++ R) API
Deprecated List
Member CXXR::car0 (ConsCell *cc)
This is a utility function used to implement CADR(SEXP) and kindred functions in the C interface. Its use for other purposes is deprecated.
Member CXXR::Environment::setEnclosingEnvironment (Environment *new_enclos)
Retained for use in deserialization and in the R function parent.env<- (itself deprecated). For other purposes, use instead slotBehind() and skipEnclosing(), which ensure that the 'enclosing' relationship remains acyclic.
Class CXXR::GCNode::GCInhibitor
This class is provided for use in implementing functions (such as SET_ATTRIB()) in the Rinternals.h interface which would not give rise to any memory allocations as implemented in CR but may do so as implemented in CXXR. It is also used within the GCNode class to handle reentrant calls to gclite() and gc(). Its use for other purposes is deprecated: use instead more selective protection against garbage collection such as that provided by class GCStackRoot<T>.
Member CXXR::GCStackRootBase::unprotectPtr (RObject *node)
Utterly.
Member CXXR::length (RObject *s)
This is provided only for use in code inherited from CR, and is a workaround for the problems that CR's length macro can cause with C++ header files. New code should invoke Rf_length() explicitly.
Member CXXR::NodeStack::eraseTopmost (RObject *node)
Used to implement the CR function UNPROTECT_PTR() (itself ghastly). Its use for any other purpose is strongly deprecated.
Member CXXR::ProtectStack::unprotectPtr (RObject *node)
Utterly.
Member CXXR::Provenance::getTime () const
This should instead use R's native date-time classes.
Member CXXR::tail0 (ConsCell *cc)
This is a utility function used to implement CADR(SEXP) and kindred functions in the C interface. Its use for other purposes is deprecated.
Class CXXR::UncachedString
The use of CachedString objects is to be preferred.
Member CXXR_alloc (size_t num_elts, int elt_size)
For use only as described above. The function is not accessible from C, and new C++ code should use C++ memory allocation mechanisms (i.e. new/delete).
Member Rf_ppsRestoreSize (size_t new_size)

This is an interface for C code to call CXXR::GCStackRootBase::ppsRestoreSize(), which may cease to be public in future.

This is an interface for C code to call CXXR::ProtectStack::restoreSize(), which may cease to be available in future. In C++, use of the ProtectStack::Scope class is preferable.

Member Rf_ppsSize ()

This is an interface for C code to call CXXR::GCStackRootBase::ppsSize(), which may cease to be public in future.

This is an interface for C code to call CXXR::ProtectStack::size(), which may cease to be public in future.

Member Rf_unprotect_ptr (SEXP)

Utterly.

Utterly.

Member Rf_unprotect_ptr (SEXP)

Utterly.

Utterly.

Member SET_NAMED (SEXP x, int v)
Ought to be private.
Member SET_S4_OBJECT (SEXP x)
Ought to be private.
Member SET_TRUELENGTH (SEXP x, int v)
May be withdrawn in the future.
Member SETLENGTH (SEXP x, int v)
May be withdrawn in future. Currently used in library/stats/src/isoreg.c , and possibly in packages.
Member TRUELENGTH (SEXP x)
May be withdrawn in the future.
Member UNSET_S4_OBJECT (SEXP x)
Ought to be private.
Member vmaxset (const void *stack_sizep)
For expert use only. C++ code should preferably use the CXXR::RAllocStack::Scope class instead. It is possible that in the future this function will become a no-op.