CXXR (C++ R)
|
Implementation of class VectorBase and related functions. More...
#include "CXXR/VectorBase.h"
#include "R_ext/Error.h"
#include "CXXR/IntVector.h"
#include "CXXR/ListVector.h"
#include "CXXR/PairList.h"
#include "CXXR/StringVector.h"
#include "CXXR/Symbol.h"
Namespaces | |
namespace | CXXR |
Namespace for the CXXR project. |
Functions | |
Rboolean | Rf_isVector (SEXP s) |
Is an RObject a vector? | |
void | SETLENGTH (SEXP x, int v) |
Variables | |
int(* | CXXR::ForceNonInline::LENGTHptr )(SEXP x) = LENGTH |
void(* | CXXR::ForceNonInline::SET_TRUELENGTHptr )(SEXP x, int v) = SET_TRUELENGTH |
int(* | CXXR::ForceNonInline::TRUELENGTHptr )(SEXP x) = TRUELENGTH |
Implementation of class VectorBase and related functions.
Rboolean Rf_isVector | ( | SEXP | s | ) |
Is an RObject a vector?
Vector in this context embraces R matrices and arrays.
s | Pointer to the RObject to be tested. The pointer may be null, in which case the function returns FALSE. |
void SETLENGTH | ( | SEXP | x, |
int | v | ||
) |
Set length of vector.
x | Pointer to a CXXR::VectorBase . |
v | The required new length, which must not be greater than the current length. |