Rcpp Version 1.0.9
Rcpp Namespace Reference

Rcpp API. More...

Namespaces

 algorithm
 
 attributes
 
 internal
 internal implementation details
 
 InternalFunctionWithStdFunction
 
 stats
 
 sugar
 
 traits
 traits used to dispatch wrap
 

Classes

class  Timer
 
class  DataFrame_Impl
 
class  Date
 
class  Datetime
 
class  newDatetimeVector
 
class  newDateVector
 
class  oldDatetimeVector
 
class  oldDateVector
 
class  Dimension
 
class  DottedPairImpl
 
class  exception
 
class  no_such_env
 
class  file_io_error
 
class  file_not_found
 
class  file_exists
 
struct  LongjumpException
 
class  Fast
 
class  InputParameter
 
class  ReferenceInputParameter
 
class  ConstInputParameter
 
class  ConstReferenceInputParameter
 
class  Rstreambuf
 
class  Rostream
 
class  fixed_call
 
class  unary_call
 
class  binary_call
 
class  class_Base
 
class  CppFunctionBase
 
class  CppFunction
 
struct  void_type
 
class  Module
 
class  result
 
class  object
 
class  CppMethod
 
class  CppInheritedMethod
 
class  SignedConstructor
 
class  SignedFactory
 
class  SignedMethod
 
class  S4_CppConstructor
 
class  S4_CppOverloadedMethods
 
class  CppProperty
 
class  CppInheritedProperty
 
class  CppFinalizer
 
class  FunctionFinalizer
 
class  S4_field
 
class  enum_
 
class  CppClass
 
class  CppObject
 
class  Na_Proxy
 
class  Argument
 
class  Nullable
 
class  Armor
 
class  Shelter
 
class  Shield
 
class  AttributeProxyPolicy
 
class  BindingPolicy
 
class  DottedPairProxyPolicy
 
class  FieldProxyPolicy
 
struct  GenericProxy
 
class  NamesProxyPolicy
 
class  ProtectedProxyPolicy
 
class  RObjectMethods
 
class  SlotProxyPolicy
 
class  TagProxyPolicy
 
class  RNGScope
 
class  SuspendRNGSynchronizationScope
 
class  Generator
 
class  NoProtectStorage
 
class  PreserveStorage
 
class  String
 
class  StringTransformer
 
struct  can_have_na
 
class  Range
 
class  Vector
 
class  ChildVector
 
class  ListOf
 
class  Matrix
 
class  MatrixBase
 
class  MatrixColumn
 
class  ConstMatrixColumn
 
class  MatrixRow
 
class  ConstMatrixRow
 
class  no_init_vector
 
class  no_init_matrix
 
class  SubMatrix
 
class  SubsetProxy
 
class  VectorBase
 
class  SingleLogicalResult
 
class  XPtr
 
struct  tzhead
 
struct  ttinfo
 
struct  lsinfo
 
struct  state
 
struct  rule
 

Typedefs

typedef uint64_t nanotime_t
 
typedef DataFrame_Impl< PreserveStorageDataFrame
 
typedef oldDateVector DateVector
 
typedef oldDatetimeVector DatetimeVector
 
typedef DottedPair_Impl< PreserveStorageDottedPair
 
typedef Environment_Impl< PreserveStorageEnvironment
 
typedef Formula_Impl< PreserveStorageFormula
 
typedef Function_Impl< PreserveStorageFunction
 
typedef InternalFunction_Impl< PreserveStorageInternalFunction
 
typedef DottedPairProxyPolicy< Language_Impl >::const_DottedPairProxy const_Proxy
 
typedef Language_Impl< PreserveStorageLanguage
 
typedef bool(* ValidConstructor) (SEXP *, int)
 
typedef bool(* ValidMethod) (SEXP *, int)
 
typedef Pairlist_Impl< PreserveStoragePairlist
 
typedef Promise_Impl< PreserveStoragePromise
 
typedef Reference_Impl< PreserveStorageReference
 
typedef RObject_Impl< PreserveStorageRObject
 
typedef S4_Impl< PreserveStorageS4
 
typedef StretchyList_Impl< PreserveStorageStretchyList
 
typedef Symbol_Impl< NoProtectStorageSymbol
 
typedef Vector< CPLXSXP > ComplexVector
 
typedef Vector< INTSXP > IntegerVector
 
typedef Vector< LGLSXP > LogicalVector
 
typedef Vector< REALSXP > NumericVector
 
typedef Vector< REALSXP > DoubleVector
 
typedef Vector< RAWSXP > RawVector
 
typedef Vector< STRSXP > CharacterVector
 
typedef Vector< STRSXP > StringVector
 
typedef Vector< VECSXP > GenericVector
 
typedef Vector< VECSXP > List
 
typedef Vector< EXPRSXP > ExpressionVector
 
typedef Matrix< CPLXSXP > ComplexMatrix
 
typedef Matrix< INTSXP > IntegerMatrix
 
typedef Matrix< LGLSXP > LogicalMatrix
 
typedef Matrix< REALSXP > NumericMatrix
 
typedef Matrix< RAWSXP > RawMatrix
 
typedef Matrix< STRSXP > CharacterMatrix
 
typedef Matrix< STRSXP > StringMatrix
 
typedef Matrix< VECSXP > GenericMatrix
 
typedef Matrix< VECSXP > ListMatrix
 
typedef Matrix< EXPRSXP > ExpressionMatrix
 
typedef WeakReference_Impl< PreserveStorageWeakReference
 

Functions

template<class InputIterator , class T >
bool __any (InputIterator first, InputIterator last, const T &value, std::input_iterator_tag)
 
template<class RandomAccessIterator , class T >
bool __any (RandomAccessIterator __first, RandomAccessIterator __last, const T &__val, std::random_access_iterator_tag)
 
template<class InputIterator , class T >
bool any (InputIterator first, InputIterator last, const T &value)
 
template<class InputIterator , class Predicate >
bool __any_if (InputIterator first, InputIterator last, Predicate pred, std::input_iterator_tag)
 
template<class RandomAccessIterator , class Predicate >
bool __any_if (RandomAccessIterator __first, RandomAccessIterator __last, Predicate __pred, std::random_access_iterator_tag)
 
template<class InputIterator , class Predicate >
bool any_if (InputIterator first, InputIterator last, Predicate pred)
 
template<>
SEXP wrap_extra_steps< Rcpp::Date > (SEXP)
 
template<>
SEXP wrap_extra_steps< Rcpp::Datetime > (SEXP)
 
template<typename T >
SEXP wrap_extra_steps (SEXP x)
 
template<>
SEXP wrap (const Date &date)
 
template<>
SEXP wrap< Datetime > (const Datetime &date)
 
Environment new_env (int size=29)
 
Environment new_env (SEXP parent, int size=29)
 
void message (SEXP s)
 
SEXP Rcpp_fast_eval (SEXP expr, SEXP env)
 
SEXP Rcpp_eval (SEXP expr, SEXP env)
 
template<typename T >
as (SEXP x)
 
template<>
char as< char > (SEXP x)
 
template<typename T >
traits::remove_const_and_reference< T >::type bare_as (SEXP x)
 
template<>
SEXP as (SEXP x)
 
template<typename T >
clone (const T &object)
 
template<>
SEXP wrap< Rcpp::Date > (const Rcpp::Date &date)
 
Date operator+ (const Date &date, int offset)
 
double operator- (const Date &d1, const Date &d2)
 
bool operator< (const Date &d1, const Date &d2)
 
bool operator> (const Date &d1, const Date &d2)
 
bool operator== (const Date &d1, const Date &d2)
 
bool operator>= (const Date &d1, const Date &d2)
 
bool operator<= (const Date &d1, const Date &d2)
 
bool operator!= (const Date &d1, const Date &d2)
 
std::ostream & operator<< (std::ostream &os, const Date d)
 
template<>
SEXP wrap< Rcpp::Datetime > (const Rcpp::Datetime &dt)
 
Datetime operator+ (const Datetime &datetime, double offset)
 
Datetime operator+ (const Datetime &datetime, int offset)
 
double operator- (const Datetime &d1, const Datetime &d2)
 
bool operator< (const Datetime &d1, const Datetime &d2)
 
bool operator> (const Datetime &d1, const Datetime &d2)
 
bool operator== (const Datetime &d1, const Datetime &d2)
 
bool operator>= (const Datetime &d1, const Datetime &d2)
 
bool operator<= (const Datetime &d1, const Datetime &d2)
 
bool operator!= (const Datetime &d1, const Datetime &d2)
 
std::ostream & operator<< (std::ostream &os, const Datetime d)
 
std::ostream & operator<< (std::ostream &os, const newDatetimeVector d)
 
std::ostream & operator<< (std::ostream &os, const newDateVector d)
 
 RCPP_API_CLASS (DottedPair_Impl)
 
 RCPP_API_CLASS (Environment_Impl)
 
 Environment_Impl (SEXP x)
 
 Environment_Impl (const std::string &name)
 
 Environment_Impl (int pos)
 
SEXP ls (bool all) const
 
SEXP get (const std::string &name) const
 
SEXP get (Symbol name) const
 
SEXP find (const std::string &name) const
 
SEXP find (Symbol name) const
 
bool exists (const std::string &name) const
 
bool assign (const std::string &name, SEXP x) const
 
bool assign (const std::string &name, const Shield< SEXP > &x) const
 
template<typename WRAPPABLE >
bool assign (const std::string &name, const WRAPPABLE &x) const
 
bool isLocked () const
 
bool remove (const std::string &name)
 
void lock (bool bindings=false)
 
void lockBinding (const std::string &name)
 
void unlockBinding (const std::string &name)
 
bool bindingIsLocked (const std::string &name) const
 
bool bindingIsActive (const std::string &name) const
 
bool is_user_database () const
 
static Environment_Impl global_env ()
 
static Environment_Impl empty_env ()
 
static Environment_Impl base_env ()
 
static Environment_Impl base_namespace ()
 
static Environment_Impl Rcpp_namespace ()
 
static Environment_Impl namespace_env (const std::string &package)
 
Environment_Impl parent () const
 
Environment_Impl new_child (bool hashed) const
 
void update (SEXP)
 
template<typename... Args>
void warning (const char *fmt, Args &&... args)
 
template<typename... Args>
void NORET stop (const char *fmt, Args &&... args)
 
template<typename T1 >
void warning (const char *fmt, const T1 &arg1)
 
template<typename T1 , typename T2 >
void warning (const char *fmt, const T1 &arg1, const T2 &arg2)
 
template<typename T1 , typename T2 , typename T3 >
void warning (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
void warning (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void warning (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void warning (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5, const T6 &arg6)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void warning (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5, const T6 &arg6, const T7 &arg7)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void warning (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5, const T6 &arg6, const T7 &arg7, const T8 &arg8)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
void warning (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5, const T6 &arg6, const T7 &arg7, const T8 &arg8, const T9 &arg9)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 >
void warning (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5, const T6 &arg6, const T7 &arg7, const T8 &arg8, const T9 &arg9, const T10 &arg10)
 
template<typename T1 >
void NORET stop (const char *fmt, const T1 &arg1)
 
template<typename T1 , typename T2 >
void NORET stop (const char *fmt, const T1 &arg1, const T2 &arg2)
 
template<typename T1 , typename T2 , typename T3 >
void NORET stop (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
void NORET stop (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void NORET stop (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void NORET stop (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5, const T6 &arg6)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void NORET stop (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5, const T6 &arg6, const T7 &arg7)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void NORET stop (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5, const T6 &arg6, const T7 &arg7, const T8 &arg8)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
void NORET stop (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5, const T6 &arg6, const T7 &arg7, const T8 &arg8, const T9 &arg9)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 >
void NORET stop (const char *fmt, const T1 &arg1, const T2 &arg2, const T3 &arg3, const T4 &arg4, const T5 &arg5, const T6 &arg6, const T7 &arg7, const T8 &arg8, const T9 &arg9, const T10 &arg10)
 
static std::string toString (const int i)
 
void warning (const std::string &message)
 
void NORET stop (const std::string &message)
 
 RCPP_SIMPLE_EXCEPTION_CLASS (not_a_matrix, "Not a matrix.") RCPP_SIMPLE_EXCEPTION_CLASS(no_such_field
 
No such field RCPP_EXCEPTION_CLASS (reference_creation_error, "Error creating object of reference class") RCPP_ADVANCED_EXCEPTION_CLASS(not_compatible
 
 RCPP_API_CLASS (Formula_Impl)
 
 Formula_Impl (SEXP x)
 
 Formula_Impl (const std::string &code)
 
 RCPP_API_CLASS (Function_Impl)
 
SEXP pairlist ()
 
SEXP grow (SEXP head, SEXP tail)
 
template<typename T >
SEXP grow (const T &head, SEXP tail)
 
SEXP grow (const char *head, SEXP tail)
 
 RCPP_API_CLASS (InternalFunction_Impl)
 
void checkUserInterrupt ()
 
template<typename T >
bool is (SEXP x)
 
SEXP Rcpp_list2 (SEXP x0, SEXP x1)
 
SEXP Rcpp_list3 (SEXP x0, SEXP x1, SEXP x2)
 
SEXP Rcpp_list4 (SEXP x0, SEXP x1, SEXP x2, SEXP x3)
 
SEXP Rcpp_list5 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4)
 
SEXP Rcpp_list6 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5)
 
SEXP Rcpp_list7 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6)
 
SEXP Rcpp_lang7 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6)
 
SEXP Rcpp_list8 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7)
 
SEXP Rcpp_lang8 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7)
 
SEXP Rcpp_list9 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8)
 
SEXP Rcpp_lang9 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8)
 
SEXP Rcpp_list10 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9)
 
SEXP Rcpp_lang10 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9)
 
SEXP Rcpp_list11 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10)
 
SEXP Rcpp_lang11 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10)
 
SEXP Rcpp_list12 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11)
 
SEXP Rcpp_lang12 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11)
 
SEXP Rcpp_list13 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12)
 
SEXP Rcpp_lang13 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12)
 
SEXP Rcpp_list14 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13)
 
SEXP Rcpp_lang14 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13)
 
SEXP Rcpp_list15 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14)
 
SEXP Rcpp_lang15 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14)
 
SEXP Rcpp_list16 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15)
 
SEXP Rcpp_lang16 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15)
 
SEXP Rcpp_list17 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16)
 
SEXP Rcpp_lang17 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16)
 
SEXP Rcpp_list18 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17)
 
SEXP Rcpp_lang18 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17)
 
SEXP Rcpp_list19 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18)
 
SEXP Rcpp_lang19 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18)
 
SEXP Rcpp_list20 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18, SEXP x19)
 
SEXP Rcpp_lang20 (SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18, SEXP x19)
 
 RCPP_API_CLASS (Language_Impl)
 
 Language_Impl ()
 
 Language_Impl (SEXP x)
 
 Language_Impl (const std::string &symbol)
 
 Language_Impl (const Symbol &symbol)
 
 Language_Impl (const Function &function)
 
void setSymbol (const std::string &symbol)
 
void setSymbol (const Symbol &symbol)
 
void setFunction (const Function &function)
 
SEXP eval () const
 
SEXP eval (SEXP env) const
 
SEXP fast_eval () const
 
SEXP fast_eval (SEXP env) const
 
template<typename RESULT_TYPE >
std::string get_return_type_dispatch (Rcpp::traits::false_type)
 
template<typename RESULT_TYPE >
std::string get_return_type_dispatch (Rcpp::traits::true_type)
 
template<typename RESULT_TYPE >
std::string get_return_type ()
 
template<>
std::string get_return_type< void_type > ()
 
template<>
std::string get_return_type< SEXP > ()
 
template<>
std::string get_return_type< Rcpp::IntegerVector > ()
 
template<>
std::string get_return_type< Rcpp::NumericVector > ()
 
template<>
std::string get_return_type< Rcpp::RawVector > ()
 
template<>
std::string get_return_type< Rcpp::ExpressionVector > ()
 
template<>
std::string get_return_type< Rcpp::List > ()
 
template<>
std::string get_return_type< Rcpp::CharacterVector > ()
 
template<typename FROM , typename TO >
void converter (const char *from, const char *to, TO(*fun)(FROM), const char *docstring=0)
 
LogicalVector shush_about_NA ()
 
Argument Named (const std::string &name)
 
template<typename T >
traits::named_object< T > Named (const std::string &name, const T &o)
 
 RCPP_API_CLASS (Pairlist_Impl)
 
 Pairlist_Impl ()
 
 Pairlist_Impl (SEXP x)
 
void print (SEXP s)
 
void warningcall (SEXP call, const std::string &s)
 
 RCPP_API_CLASS (Promise_Impl)
 
SEXP Rcpp_protect (SEXP x)
 
void Rcpp_unprotect (int i)
 
template<int TARGET>
SEXP r_cast (SEXP x)
 
 RCPP_API_CLASS (Reference_Impl)
 
 RCPP_API_CLASS (RObject_Impl)
 
attribute_hidden const char * type2name (SEXP x)
 
attribute_hidden double mktime00 (struct tm &tm)
 
attribute_hidden struct tmgmtime_ (const time_t *const x)
 
attribute_hidden void Rcpp_precious_init ()
 
attribute_hidden void Rcpp_precious_teardown ()
 
attribute_hidden SEXP Rcpp_precious_preserve (SEXP object)
 
attribute_hidden void Rcpp_precious_remove (SEXP token)
 
attribute_hidden Rostream< true > & Rcpp_cout_get ()
 
attribute_hidden Rostream< false > & Rcpp_cerr_get ()
 
 RCPP_API_CLASS (S4_Impl)
 
template<int MAX_SIZE>
std::string sprintf (const char *format,...)
 
template<bool NA, typename T >
stats::D1< REALSXP, NA, T > dexp (const Rcpp::VectorBase< REALSXP, NA, T > &x, double shape, bool log=false)
 
template<bool NA, typename T >
stats::P1< REALSXP, NA, T > pexp (const Rcpp::VectorBase< REALSXP, NA, T > &x, double shape, bool lower=true, bool log=false)
 
template<bool NA, typename T >
stats::Q1< REALSXP, NA, T > qexp (const Rcpp::VectorBase< REALSXP, NA, T > &x, double shape, bool lower=true, bool log=false)
 
NumericVector rnorm (int n, double mean, double sd)
 
NumericVector rnorm (int n, double mean)
 
NumericVector rnorm (int n)
 
NumericVector rbeta (int n, double a, double b)
 
NumericVector rbinom (int n, double nin, double pp)
 
NumericVector rcauchy (int n, double location, double scale)
 
NumericVector rcauchy (int n, double location)
 
NumericVector rcauchy (int n)
 
NumericVector rchisq (int n, double df)
 
NumericVector rexp (int n, double rate)
 
NumericVector rexp (int n)
 
NumericVector rf (int n, double n1, double n2)
 
NumericVector rgamma (int n, double a, double scale)
 
NumericVector rgamma (int n, double a)
 
NumericVector rgeom (int n, double p)
 
NumericVector rhyper (int n, double nn1, double nn2, double kk)
 
NumericVector rlnorm (int n, double meanlog, double sdlog)
 
NumericVector rlnorm (int n, double meanlog)
 
NumericVector rlnorm (int n)
 
NumericVector rlogis (int n, double location, double scale)
 
NumericVector rlogis (int n, double location)
 
NumericVector rlogis (int n)
 
NumericVector rnbinom (int n, double siz, double prob)
 
NumericVector rnbinom_mu (int n, double siz, double mu)
 
NumericVector rnchisq (int n, double df, double lambda)
 
NumericVector rnchisq (int n, double df)
 
NumericVector rpois (int n, double mu)
 
NumericVector rsignrank (int n, double nn)
 
NumericVector rt (int n, double df)
 
NumericVector runif (int n, double min, double max)
 
NumericVector runif (int n, double min)
 
NumericVector runif (int n)
 
NumericVector rweibull (int n, double shape, double scale)
 
NumericVector rweibull (int n, double shape)
 
NumericVector rwilcox (int n, double mm, double nn)
 
 RCPP_API_CLASS (StretchyList_Impl)
 
 StretchyList_Impl ()
 
 StretchyList_Impl (SEXP x)
 
 operator SEXP () const
 
template<typename T >
StretchyList_Implpush_back (const T &obj)
 
template<typename T >
StretchyList_Implpush_front (const T &obj)
 
template<typename T >
StretchyList_Implpush_back__impl (const T &obj, traits::true_type)
 
template<typename T >
StretchyList_Implpush_back__impl (const T &obj, traits::false_type)
 
template<typename T >
StretchyList_Implpush_front__impl (const T &obj, traits::true_type)
 
template<typename T >
StretchyList_Implpush_front__impl (const T &obj, traits::false_type)
 
template<>
SEXP wrap< Rcpp::String > (const Rcpp::String &object)
 
bool operator== (const String::StringProxy &lhs, const String &rhs)
 
bool operator!= (const String::StringProxy &lhs, const String &rhs)
 
bool operator== (const String::const_StringProxy &lhs, const String &rhs)
 
bool operator!= (const String::const_StringProxy &lhs, const String &rhs)
 
template<typename UnaryOperator >
StringTransformer< UnaryOperator > make_string_transformer (const UnaryOperator &fun)
 
template<bool NA, typename T >
sugar::All< NA, T > all (const Rcpp::VectorBase< LGLSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Any< NA, T > any (const Rcpp::VectorBase< LGLSXP, NA, T > &t)
 
template<int RTYPE, bool NA, typename T >
sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T > clamp (typename Rcpp::traits::storage_type< RTYPE >::type lhs, const Rcpp::VectorBase< RTYPE, NA, T > &vec, typename Rcpp::traits::storage_type< RTYPE >::type rhs)
 
template<bool NA, typename T >
sugar::Cummax< INTSXP, NA, T > cummax (const VectorBase< INTSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Cummax< REALSXP, NA, T > cummax (const VectorBase< REALSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Cummin< INTSXP, NA, T > cummin (const VectorBase< INTSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Cummin< REALSXP, NA, T > cummin (const VectorBase< REALSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Cumprod< INTSXP, NA, T > cumprod (const VectorBase< INTSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Cumprod< REALSXP, NA, T > cumprod (const VectorBase< REALSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Cumprod< CPLXSXP, NA, T > cumprod (const VectorBase< CPLXSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Cumsum< INTSXP, NA, T > cumsum (const VectorBase< INTSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Cumsum< REALSXP, NA, T > cumsum (const VectorBase< REALSXP, NA, T > &t)
 
template<bool LHS_NA, typename LHS_T >
sugar::Diff< INTSXP, LHS_NA, LHS_T > diff (const VectorBase< INTSXP, LHS_NA, LHS_T > &lhs)
 
template<bool LHS_NA, typename LHS_T >
sugar::Diff< REALSXP, LHS_NA, LHS_T > diff (const VectorBase< REALSXP, LHS_NA, LHS_T > &lhs)
 
template<int RTYPE, bool NA, typename T >
LogicalVector duplicated (const VectorBase< RTYPE, NA, T > &x)
 
template<int RTYPE, bool NA, typename T >
sugar::Head< RTYPE, NA, T > head (const VectorBase< RTYPE, NA, T > &t, R_xlen_t n)
 
template<int RTYPE, bool COND_NA, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T > ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool COND_NA, typename COND_T , bool RHS_NA, typename RHS_T >
sugar::IfElse_Primitive_Vector< RTYPE, COND_NA, COND_T, RHS_NA, RHS_T > ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, typename traits::storage_type< RTYPE >::type lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool COND_NA, typename COND_T , bool RHS_NA, typename RHS_T >
sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, RHS_NA, RHS_T > ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &lhs, typename traits::storage_type< RTYPE >::type rhs)
 
template<bool COND_NA, typename COND_T >
sugar::IfElse_Primitive_Primitive< REALSXP, COND_NA, COND_T > ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, double lhs, double rhs)
 
template<bool COND_NA, typename COND_T >
sugar::IfElse_Primitive_Primitive< INTSXP, COND_NA, COND_T > ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, int lhs, int rhs)
 
template<bool COND_NA, typename COND_T >
sugar::IfElse_Primitive_Primitive< CPLXSXP, COND_NA, COND_T > ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, Rcomplex lhs, Rcomplex rhs)
 
template<bool COND_NA, typename COND_T >
sugar::IfElse_Primitive_Primitive< LGLSXP, COND_NA, COND_T > ifelse (const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &cond, bool lhs, bool rhs)
 
template<int RTYPE, bool NA, typename T >
sugar::IsFinite< RTYPE, NA, T > is_finite (const Rcpp::VectorBase< RTYPE, NA, T > &t)
 
template<int RTYPE, bool NA, typename T >
sugar::IsInfinite< RTYPE, NA, T > is_infinite (const Rcpp::VectorBase< RTYPE, NA, T > &t)
 
template<int RTYPE, bool NA, typename T >
sugar::IsNa< RTYPE, NA, T > is_na (const Rcpp::VectorBase< RTYPE, NA, T > &t)
 
sugar::IsNa_Vector_is_na< oldDatetimeVectoris_na (const oldDatetimeVector &x)
 
sugar::IsNa_Vector_is_na< oldDateVectoris_na (const oldDateVector &x)
 
sugar::IsNa_Vector_is_na< NumericVectoris_na (newDatetimeVector &x)
 
sugar::IsNa_Vector_is_na< NumericVectoris_na (newDateVector &x)
 
template<int RTYPE, bool NA, typename T >
sugar::IsNaN< RTYPE, NA, T > is_nan (const Rcpp::VectorBase< RTYPE, NA, T > &t)
 
template<int RTYPE, bool NA, typename T , typename Function >
sugar::Lapply< RTYPE, NA, T, Functionlapply (const Rcpp::VectorBase< RTYPE, NA, T > &t, Function fun)
 
template<int RTYPE, bool NA_1, typename T_1 , bool NA_2, typename T_2 , typename Function >
sugar::Mapply_2< RTYPE, NA_1, T_1, NA_2, T_2, Functionmapply (const Rcpp::VectorBase< RTYPE, NA_1, T_1 > &t1, const Rcpp::VectorBase< RTYPE, NA_2, T_2 > &t2, Function fun)
 
template<int RTYPE, bool NA_1, typename T_1 , typename Function >
sugar::Mapply_2_Vector_Primitive< RTYPE, NA_1, T_1, double, Functionmapply (const Rcpp::VectorBase< RTYPE, NA_1, T_1 > &t1, double t2, Function fun)
 
template<int RTYPE, bool NA_2, typename T_2 , typename Function >
sugar::Mapply_2_Primitive_Vector< RTYPE, double, NA_2, T_2, Functionmapply (double t1, const Rcpp::VectorBase< RTYPE, NA_2, T_2 > &t2, Function fun)
 
template<int RTYPE_1, bool NA_1, typename T_1 , int RTYPE_2, bool NA_2, typename T_2 , int RTYPE_3, bool NA_3, typename T_3 , typename Function >
sugar::Mapply_3< RTYPE_1, NA_1, T_1, RTYPE_2, NA_2, T_2, RTYPE_3, NA_3, T_3, Functionmapply (const Rcpp::VectorBase< RTYPE_1, NA_1, T_1 > &t1, const Rcpp::VectorBase< RTYPE_2, NA_2, T_2 > &t2, const Rcpp::VectorBase< RTYPE_3, NA_3, T_3 > &t3, Function fun)
 
template<int RTYPE, bool NA, typename T , bool RHS_NA, typename RHS_T >
IntegerVector match (const VectorBase< RTYPE, NA, T > &x, const VectorBase< RTYPE, RHS_NA, RHS_T > &table_)
 
template<int RTYPE, bool NA, typename T >
sugar::Max< RTYPE, NA, T > max (const VectorBase< RTYPE, NA, T > &x)
 
template<bool NA, typename T >
sugar::Mean< REALSXP, NA, T > mean (const VectorBase< REALSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Mean< INTSXP, NA, T > mean (const VectorBase< INTSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Mean< CPLXSXP, NA, T > mean (const VectorBase< CPLXSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Mean< LGLSXP, NA, T > mean (const VectorBase< LGLSXP, NA, T > &t)
 
template<int RTYPE, bool NA, typename T >
sugar::median_detail::result< RTYPE >::type median (const Rcpp::VectorBase< RTYPE, NA, T > &x, bool na_rm=false)
 
template<int RTYPE, bool NA, typename T >
sugar::Min< RTYPE, NA, T > min (const VectorBase< RTYPE, NA, T > &x)
 
template<int RTYPE, bool NA, typename T >
Vector< RTYPE > na_omit (const VectorBase< RTYPE, NA, T > &t)
 
template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::Pmax_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > pmax (const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool LHS_NA, typename LHS_T >
sugar::Pmax_Vector_Primitive< RTYPE, LHS_NA, LHS_T > pmax (const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, typename Rcpp::traits::storage_type< RTYPE >::type rhs)
 
template<int RTYPE, bool RHS_NA, typename RHS_T >
sugar::Pmax_Vector_Primitive< RTYPE, RHS_NA, RHS_T > pmax (typename Rcpp::traits::storage_type< RTYPE >::type lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::Pmin_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > pmin (const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool LHS_NA, typename LHS_T >
sugar::Pmin_Vector_Primitive< RTYPE, LHS_NA, LHS_T > pmin (const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, typename Rcpp::traits::storage_type< RTYPE >::type rhs)
 
template<int RTYPE, bool RHS_NA, typename RHS_T >
sugar::Pmin_Vector_Primitive< RTYPE, RHS_NA, RHS_T > pmin (typename Rcpp::traits::storage_type< RTYPE >::type lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool NA, typename T , typename EXPONENT_TYPE >
sugar::Pow< RTYPE, NA, T, EXPONENT_TYPE > pow (const VectorBase< RTYPE, NA, T > &t, EXPONENT_TYPE exponent)
 
template<int RTYPE, bool NA, typename T >
sugar::Range< RTYPE, NA, T > range (const VectorBase< RTYPE, NA, T > &x)
 
template<int RTYPE, bool NA, typename T >
sugar::Rep< RTYPE, NA, T > rep (const VectorBase< RTYPE, NA, T > &t, R_xlen_t n)
 
sugar::Rep_Single< double > rep (const double &x, R_xlen_t n)
 
sugar::Rep_Single< int > rep (const int &x, R_xlen_t n)
 
sugar::Rep_Single< Rbyte > rep (const Rbyte &x, R_xlen_t n)
 
sugar::Rep_Single< Rcomplex > rep (const Rcomplex &x, R_xlen_t n)
 
sugar::Rep_Single< bool > rep (const bool &x, R_xlen_t n)
 
template<int RTYPE, bool NA, typename T >
sugar::Rep_each< RTYPE, NA, T > rep_each (const VectorBase< RTYPE, NA, T > &t, R_xlen_t times)
 
template<int RTYPE, bool NA, typename T >
sugar::Rep_len< RTYPE, NA, T > rep_len (const VectorBase< RTYPE, NA, T > &t, R_xlen_t len)
 
template<int RTYPE, bool NA, typename T >
sugar::Rev< RTYPE, NA, T > rev (const VectorBase< RTYPE, NA, T > &t)
 
template<int RTYPE, bool NA, typename T >
sugar::detail::RowSumsReturn< RTYPE >::type rowSums (const MatrixBase< RTYPE, NA, T > &x, bool na_rm=false)
 
template<int RTYPE, bool NA, typename T >
sugar::detail::ColSumsReturn< RTYPE >::type colSums (const MatrixBase< RTYPE, NA, T > &x, bool na_rm=false)
 
template<int RTYPE, bool NA, typename T >
sugar::detail::RowMeansReturn< RTYPE >::type rowMeans (const MatrixBase< RTYPE, NA, T > &x, bool na_rm=false)
 
template<int RTYPE, bool NA, typename T >
sugar::detail::ColMeansReturn< RTYPE >::type colMeans (const MatrixBase< RTYPE, NA, T > &x, bool na_rm=false)
 
Vector< INTSXP > sample (int n, int size, bool replace=false, sugar::probs_t probs=R_NilValue, bool one_based=true)
 
template<int RTYPE>
Vector< RTYPE > sample (const Vector< RTYPE > &x, int size, bool replace=false, sugar::probs_t probs=R_NilValue)
 
template<int RTYPE, bool NA, typename T , typename Function >
sugar::Sapply< RTYPE, NA, T, Function, traits::same_type< typename ::Rcpp::sugar::sapply_application_result_of< Function, T >::type, typename Rcpp::traits::storage_type< traits::r_sexptype_traits< typename ::Rcpp::sugar::sapply_application_result_of< Function, T >::type >::rtype >::type >::value > sapply (const Rcpp::VectorBase< RTYPE, NA, T > &t, Function fun)
 
template<bool NA, typename T >
sugar::Sd< REALSXP, NA, T > sd (const VectorBase< REALSXP, NA, T > &t)
 
template<int RTYPE, bool NA, typename T >
IntegerVector self_match (const VectorBase< RTYPE, NA, T > &x)
 
template<int RTYPE, bool NA, typename T >
sugar::SeqLen seq_along (const Rcpp::VectorBase< RTYPE, NA, T > &t)
 
sugar::SeqLen seq_len (const size_t &n)
 
Range seq (R_xlen_t start, R_xlen_t end)
 
template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
Vector< RTYPE > setdiff (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
bool setequal (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
Vector< RTYPE > intersect (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
Vector< RTYPE > union_ (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<bool NA, typename T >
sugar::Sign< INTSXP, NA, T > sign (const VectorBase< INTSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Sign< REALSXP, NA, T > sign (const VectorBase< REALSXP, NA, T > &t)
 
template<bool NA, typename T >
String collapse (const VectorBase< STRSXP, NA, T > &vec)
 
Vector< STRSXP > trimws (const Vector< STRSXP > &x, const char *which="both")
 
Matrix< STRSXP > trimws (const Matrix< STRSXP > &x, const char *which="both")
 
String trimws (const String &str, const char *which="both")
 
template<bool NA, typename T >
sugar::Sum< INTSXP, NA, T > sum (const VectorBase< INTSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Sum< REALSXP, NA, T > sum (const VectorBase< REALSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Sum< LGLSXP, NA, T > sum (const VectorBase< LGLSXP, NA, T > &t)
 
template<int RTYPE, bool NA, typename T >
IntegerVector table (const VectorBase< RTYPE, NA, T > &x)
 
template<int RTYPE, bool NA, typename T >
sugar::Tail< RTYPE, NA, T > tail (const VectorBase< RTYPE, NA, T > &t, R_xlen_t n)
 
template<int RTYPE, bool NA, typename T >
Vector< RTYPE > unique (const VectorBase< RTYPE, NA, T > &t)
 
template<int RTYPE, bool NA, typename T >
Vector< RTYPE > sort_unique (const VectorBase< RTYPE, NA, T > &t, bool decreasing=false)
 
template<int RTYPE, bool NA, typename T , bool RHS_NA, typename RHS_T >
LogicalVector in (const VectorBase< RTYPE, NA, T > &x, const VectorBase< RTYPE, RHS_NA, RHS_T > &table)
 
template<bool NA, typename T >
sugar::Var< REALSXP, NA, T > var (const VectorBase< REALSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Var< INTSXP, NA, T > var (const VectorBase< INTSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Var< LGLSXP, NA, T > var (const VectorBase< LGLSXP, NA, T > &t)
 
template<bool NA, typename T >
sugar::Var< CPLXSXP, NA, T > var (const VectorBase< CPLXSXP, NA, T > &t)
 
template<int RTYPE, bool NA, typename T >
R_xlen_t which_max (const VectorBase< RTYPE, NA, T > &t)
 
template<int RTYPE, bool NA, typename T >
R_xlen_t which_min (const VectorBase< RTYPE, NA, T > &t)
 
template<bool NA, typename T >
bool is_true (const Rcpp::sugar::SingleLogicalResult< NA, T > &x)
 
template<bool NA, typename T >
bool is_false (const Rcpp::sugar::SingleLogicalResult< NA, T > &x)
 
template<bool NA, typename T >
bool is_na (const Rcpp::sugar::SingleLogicalResult< NA, T > &x)
 
template<int RTYPE, bool NA, typename T >
Rcpp::Vector< RTYPE > as_vector (const MatrixBase< RTYPE, NA, T > &t)
 
template<int RTYPE, bool LHS_NA, typename LHS_T >
sugar::Col< RTYPE, LHS_NA, LHS_T > col (const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > &lhs)
 
template<typename T >
sugar::diag_result_type_trait< T >::type diag (const T &t)
 
template<int RTYPE, bool NA, typename T >
sugar::LowerTri< RTYPE, NA, T > lower_tri (const Rcpp::MatrixBase< RTYPE, NA, T > &lhs, bool diag=false)
 
template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T , typename Function >
sugar::Outer< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T, Functionouter (const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &rhs, Function fun)
 
template<int RTYPE, bool LHS_NA, typename LHS_T >
sugar::Row< RTYPE, LHS_NA, LHS_T > row (const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > &lhs)
 
template<int RTYPE, bool NA, typename T >
sugar::UpperTri< RTYPE, NA, T > upper_tri (const Rcpp::MatrixBase< RTYPE, NA, T > &lhs, bool diag=false)
 
template<int RTYPE, bool NA, typename VECTOR >
sugar::Nona< RTYPE, NA, VECTOR > noNA (const Rcpp::VectorBase< RTYPE, NA, VECTOR > &vec)
 
sugar::NonaPrimitive< double > noNA (double x)
 
sugar::NonaPrimitive< int > noNA (int x)
 
template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if< traits::is_convertible< typename traits::remove_const_and_reference< U >::type, typename traits::storage_type< RTYPE >::type >::value, sugar::Divides_Vector_Primitive< RTYPE, NA, T > >::type operator/ (const VectorBase< RTYPE, NA, T > &lhs, const U &rhs)
 
template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if< traits::is_convertible< typename traits::remove_const_and_reference< U >::type, typename traits::storage_type< RTYPE >::type >::value, sugar::Divides_Primitive_Vector< RTYPE, NA, T > >::type operator/ (const U &lhs, const VectorBase< RTYPE, NA, T > &rhs)
 
template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::Divides_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > operator/ (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if< traits::is_convertible< typename traits::remove_const_and_reference< U >::type, typename traits::storage_type< RTYPE >::type >::value, sugar::Minus_Vector_Primitive< RTYPE, NA, T > >::type operator- (const VectorBase< RTYPE, NA, T > &lhs, const U &rhs)
 
template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if< traits::is_convertible< typename traits::remove_const_and_reference< U >::type, typename traits::storage_type< RTYPE >::type >::value, sugar::Minus_Primitive_Vector< RTYPE, NA, T > >::type operator- (const U &lhs, const VectorBase< RTYPE, NA, T > &rhs)
 
template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::Minus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > operator- (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if< traits::is_convertible< typename traits::remove_const_and_reference< U >::type, typename traits::storage_type< RTYPE >::type >::value, typename sugar::Plus_Vector_Primitive< RTYPE, NA, T > >::type operator+ (const VectorBase< RTYPE, NA, T > &lhs, const U &rhs)
 
template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if< traits::is_convertible< typename traits::remove_const_and_reference< U >::type, typename traits::storage_type< RTYPE >::type >::value, typename sugar::Plus_Vector_Primitive< RTYPE, NA, T > >::type operator+ (const U &rhs, const VectorBase< RTYPE, NA, T > &lhs)
 
template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if< traits::is_convertible< typename traits::remove_const_and_reference< U >::type, typename traits::storage_type< RTYPE >::type >::value, sugar::Plus_Vector_Primitive_nona< RTYPE, NA, T > >::type operator+ (const VectorBase< RTYPE, NA, T > &lhs, const typename sugar::NonaPrimitive< U > &rhs)
 
template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if< traits::is_convertible< typename traits::remove_const_and_reference< U >::type, typename traits::storage_type< RTYPE >::type >::value, sugar::Plus_Vector_Primitive_nona< RTYPE, NA, T > >::type operator+ (const typename sugar::NonaPrimitive< U > &rhs, const VectorBase< RTYPE, NA, T > &lhs)
 
template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::Plus_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > operator+ (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if< traits::is_convertible< typename traits::remove_const_and_reference< U >::type, typename traits::storage_type< RTYPE >::type >::value, sugar::Times_Vector_Primitive< RTYPE, NA, T > >::type operator* (const VectorBase< RTYPE, NA, T > &lhs, const U &rhs)
 
template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if< traits::is_convertible< typename traits::remove_const_and_reference< U >::type, typename traits::storage_type< RTYPE >::type >::value, sugar::Times_Vector_Primitive< RTYPE, NA, T > >::type operator* (const U &rhs, const VectorBase< RTYPE, NA, T > &lhs)
 
template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if< traits::is_convertible< typename traits::remove_const_and_reference< U >::type, typename traits::storage_type< RTYPE >::type >::value, sugar::Times_Vector_Primitive_nona< RTYPE, NA, T > >::type operator* (const VectorBase< RTYPE, NA, T > &lhs, const typename sugar::NonaPrimitive< U > &rhs)
 
template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if< traits::is_convertible< typename traits::remove_const_and_reference< U >::type, typename traits::storage_type< RTYPE >::type >::value, sugar::Times_Vector_Primitive_nona< RTYPE, NA, T > >::type operator* (const typename sugar::NonaPrimitive< U > &rhs, const VectorBase< RTYPE, NA, T > &lhs)
 
template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::Times_Vector_Vector< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T > operator* (const VectorBase< RTYPE, LHS_NA, LHS_T > &lhs, const VectorBase< RTYPE, RHS_NA, RHS_T > &rhs)
 
 RCPP_API_CLASS (Symbol_Impl)
 
SEXP unwindProtect (SEXP(*callback)(void *data), void *data)
 
template<typename T , typename Function >
List lapply (const ListOf< T > &t, Function fun)
 
template<typename T , typename Function >
sapply (const ListOf< T > &t, Function fun)
 
internal::DimNameProxy rownames (SEXP x)
 
internal::DimNameProxy colnames (SEXP x)
 
template<template< class > class StoragePolicy>
std::ostream & operator<< (std::ostream &s, const Matrix< REALSXP, StoragePolicy > &rhs)
 
template<template< class > class StoragePolicy>
std::ostream & operator<< (std::ostream &s, const Matrix< INTSXP, StoragePolicy > &rhs)
 
template<template< class > class StoragePolicy>
std::ostream & operator<< (std::ostream &s, const Matrix< STRSXP, StoragePolicy > &rhs)
 
template<int RTYPE, template< class > class StoragePolicy>
std::ostream & operator<< (std::ostream &s, const Matrix< RTYPE, StoragePolicy > &rhs)
 
template<int RTYPE, template< class > class StoragePolicy>
Matrix< RTYPE, StoragePolicy > tranpose_impl (const Matrix< RTYPE, StoragePolicy > &x)
 
template<template< class > class StoragePolicy>
Matrix< REALSXP, StoragePolicy > transpose (const Matrix< REALSXP, StoragePolicy > &x)
 
template<template< class > class StoragePolicy>
Matrix< INTSXP, StoragePolicy > transpose (const Matrix< INTSXP, StoragePolicy > &x)
 
template<template< class > class StoragePolicy>
Matrix< STRSXP, StoragePolicy > transpose (const Matrix< STRSXP, StoragePolicy > &x)
 
no_init_vector no_init (R_xlen_t size)
 
no_init_matrix no_init (int nr, int nc)
 
template<int RTYPE, template< class > class StoragePolicy>
std::ostream & operator<< (std::ostream &s, const Vector< RTYPE, StoragePolicy > &rhs)
 
template<template< class > class StoragePolicy>
std::ostream & operator<< (std::ostream &s, const Vector< STRSXP, StoragePolicy > &rhs)
 
 RCPP_API_CLASS (WeakReference_Impl)
 
template<typename T >
void standard_delete_finalizer (T *obj)
 
template<typename T , void Finalizer>
void finalizer_wrapper (SEXP p)
 
SEXP Rcpp_PreserveObject (SEXP x)
 
void Rcpp_ReleaseObject (SEXP x)
 
SEXP Rcpp_ReplaceObject (SEXP x, SEXP y)
 
SEXP Rcpp_PreciousPreserve (SEXP object)
 
void Rcpp_PreciousRelease (SEXP token)
 
static int tzparse (const char *name, struct state *sp, int lastditch)
 
static int typesequiv (const struct state *sp, int a, int b)
 
static const char * getsecs (const char *strp, int_fast32_t *secsp)
 
static const char * getnum (const char *strp, int *const nump, const int min, const int max)
 
static const char * getrule (const char *strp, struct rule *const rulep)
 
static int_fast32_t transtime (int year, const struct rule *rulep, int_fast32_t offset)
 
static struct tmtimesub (const time_t *timep, int_fast32_t offset, const struct state *sp, struct tm *tmp)
 
static int leaps_thru_end_of (const int y)
 
static int increment_overflow (int *const ip, int j)
 
static int increment_overflow_time (time_t *tp, int_fast32_t j)
 
static int_fast32_t detzcode (const char *const codep)
 
static int_fast64_t detzcode64 (const char *const codep)
 
static int differ_by_repeat (const time_t t1, const time_t t0)
 
static const char * getzname (const char *strp)
 
static const char * getqzname (const char *strp, const int delim)
 
static const char * getoffset (const char *strp, int_fast32_t *const offsetp)
 
static int tzload (const char *name, struct state *const sp, const int doextend)
 
static void gmtload (struct state *const sp)
 
static struct tmgmtsub (const time_t *const timep, const int_fast32_t offset, struct tm *const tmp)
 

Variables

public DottedPairProxyPolicy< DottedPair_Impl< StoragePolicy > >
 
public public DottedPairImpl< DottedPair_Impl< StoragePolicy > >
 
public BindingPolicy< Environment_Impl< StoragePolicy > >
 
public DottedPairProxyPolicy< Formula_Impl< StoragePolicy > >
 
public public DottedPairImpl< Formula_Impl< StoragePolicy > >
 
static Rostream< true > Rcout = Rcpp_cout_get()
 
static Rostream< false > Rcerr = Rcpp_cerr_get()
 
public DottedPairProxyPolicy< Language_Impl< StoragePolicy > >
 
public public DottedPairImpl< Language_Impl< StoragePolicy > >
 
static Na_Proxy NA
 
static internal::NamedPlaceHolder _
 
public DottedPairProxyPolicy< Pairlist_Impl< StoragePolicy > >
 
public public DottedPairImpl< Pairlist_Impl< StoragePolicy > >
 
public FieldProxyPolicy< Reference_Impl< StoragePolicy > >
 
public DottedPairProxyPolicy< StretchyList_Impl< StoragePolicy > >
 
static SEXP Rcpp_precious = R_NilValue
 
static time_t const time_t_min = MINVAL(time_t, TYPE_BIT(time_t))
 
static time_t const time_t_max = MAXVAL(time_t, TYPE_BIT(time_t))
 
static const char gmt [] = "GMT"
 
static const int mon_lengths [2][MONSPERYEAR]
 
static const int year_lengths [2]
 
static int gmt_is_set
 
static struct state gmtmem
 
static struct tm tm
 
static Modulecurrent_scope
 

Detailed Description

Rcpp API.

Typedef Documentation

◆ CharacterMatrix

typedef Matrix<STRSXP> Rcpp::CharacterMatrix

Definition at line 46 of file instantiation.h.

◆ CharacterVector

typedef Vector<STRSXP> Rcpp::CharacterVector

Definition at line 34 of file instantiation.h.

◆ ComplexMatrix

typedef Matrix<CPLXSXP> Rcpp::ComplexMatrix

Definition at line 40 of file instantiation.h.

◆ ComplexVector

typedef Vector<CPLXSXP> Rcpp::ComplexVector

Definition at line 27 of file instantiation.h.

◆ const_Proxy

typedef DottedPairProxyPolicy< StretchyList_Impl >::const_DottedPairProxy Rcpp::const_Proxy

Definition at line 38 of file Language.h.

◆ DataFrame

Definition at line 190 of file DataFrame.h.

◆ DatetimeVector

Definition at line 45 of file date_datetime.h.

◆ DateVector

Definition at line 44 of file date_datetime.h.

◆ DottedPair

typedef DottedPair_Impl<PreserveStorage> Rcpp::DottedPair

Definition at line 45 of file DottedPair.h.

◆ DoubleVector

typedef Vector<REALSXP> Rcpp::DoubleVector

Definition at line 31 of file instantiation.h.

◆ Environment

Definition at line 403 of file Environment.h.

◆ ExpressionMatrix

typedef Matrix<EXPRSXP> Rcpp::ExpressionMatrix

Definition at line 50 of file instantiation.h.

◆ ExpressionVector

typedef Vector<EXPRSXP> Rcpp::ExpressionVector

Definition at line 38 of file instantiation.h.

◆ Formula

Definition at line 77 of file Formula.h.

◆ Function

typedef Function_Impl<PreserveStorage> Rcpp::Function
Examples
SugarPerformance/Timer.h.

Definition at line 124 of file Function.h.

◆ GenericMatrix

typedef Matrix<VECSXP> Rcpp::GenericMatrix

Definition at line 48 of file instantiation.h.

◆ GenericVector

typedef Vector<VECSXP> Rcpp::GenericVector

Definition at line 36 of file instantiation.h.

◆ IntegerMatrix

typedef Matrix<INTSXP> Rcpp::IntegerMatrix

Definition at line 41 of file instantiation.h.

◆ IntegerVector

typedef Vector<INTSXP> Rcpp::IntegerVector

Definition at line 28 of file instantiation.h.

◆ InternalFunction

typedef InternalFunction_Impl<PreserveStorage> Rcpp::InternalFunction

Definition at line 64 of file InternalFunction.h.

◆ Language

Definition at line 160 of file Language.h.

◆ List

typedef Vector<VECSXP> Rcpp::List

Definition at line 37 of file instantiation.h.

◆ ListMatrix

typedef Matrix<VECSXP> Rcpp::ListMatrix

Definition at line 49 of file instantiation.h.

◆ LogicalMatrix

typedef Matrix<LGLSXP> Rcpp::LogicalMatrix

Definition at line 42 of file instantiation.h.

◆ LogicalVector

typedef Vector<LGLSXP> Rcpp::LogicalVector

Definition at line 29 of file instantiation.h.

◆ nanotime_t

typedef uint64_t Rcpp::nanotime_t

Definition at line 47 of file Timer.h.

◆ NumericMatrix

typedef Matrix<REALSXP> Rcpp::NumericMatrix

Definition at line 43 of file instantiation.h.

◆ NumericVector

typedef Vector<REALSXP> Rcpp::NumericVector

Definition at line 30 of file instantiation.h.

◆ Pairlist

Definition at line 53 of file Pairlist.h.

◆ Promise

typedef Promise_Impl<PreserveStorage> Rcpp::Promise

Definition at line 78 of file Promise.h.

◆ RawMatrix

typedef Matrix<RAWSXP> Rcpp::RawMatrix

Definition at line 44 of file instantiation.h.

◆ RawVector

typedef Vector<RAWSXP> Rcpp::RawVector

Definition at line 32 of file instantiation.h.

◆ Reference

typedef Reference_Impl<PreserveStorage> Rcpp::Reference

Definition at line 71 of file Reference.h.

◆ RObject

typedef RObject_Impl<PreserveStorage> Rcpp::RObject

Definition at line 58 of file RObject.h.

◆ S4

typedef S4_Impl<PreserveStorage> Rcpp::S4

Definition at line 77 of file S4.h.

◆ StretchyList

Definition at line 83 of file StretchyList.h.

◆ StringMatrix

typedef Matrix<STRSXP> Rcpp::StringMatrix

Definition at line 47 of file instantiation.h.

◆ StringVector

typedef Vector<STRSXP> Rcpp::StringVector

Definition at line 35 of file instantiation.h.

◆ Symbol

typedef Symbol_Impl<NoProtectStorage> Rcpp::Symbol

Definition at line 84 of file Symbol.h.

◆ ValidConstructor

typedef bool(* Rcpp::ValidConstructor) (SEXP *, int)

Definition at line 139 of file Module.h.

◆ ValidMethod

typedef bool(* Rcpp::ValidMethod) (SEXP *, int)

Definition at line 140 of file Module.h.

◆ WeakReference

typedef WeakReference_Impl<PreserveStorage> Rcpp::WeakReference

Definition at line 64 of file WeakReference.h.

Function Documentation

◆ __any() [1/2]

template<class InputIterator , class T >
bool Rcpp::__any ( InputIterator  first,
InputIterator  last,
const T &  value,
std::input_iterator_tag   
)
inline

Definition at line 32 of file algo.h.

Referenced by any().

◆ __any() [2/2]

template<class RandomAccessIterator , class T >
bool Rcpp::__any ( RandomAccessIterator  __first,
RandomAccessIterator  __last,
const T &  __val,
std::random_access_iterator_tag   
)
inline

Definition at line 39 of file algo.h.

◆ __any_if() [1/2]

template<class InputIterator , class Predicate >
bool Rcpp::__any_if ( InputIterator  first,
InputIterator  last,
Predicate  pred,
std::input_iterator_tag   
)
inline

Definition at line 98 of file algo.h.

Referenced by any_if().

◆ __any_if() [2/2]

template<class RandomAccessIterator , class Predicate >
bool Rcpp::__any_if ( RandomAccessIterator  __first,
RandomAccessIterator  __last,
Predicate  __pred,
std::random_access_iterator_tag   
)
inline

Definition at line 105 of file algo.h.

◆ all()

template<bool NA, typename T >
sugar::All<NA,T> Rcpp::all ( const Rcpp::VectorBase< LGLSXP, NA, T > &  t)
inline

Definition at line 84 of file all.h.

Referenced by ls().

◆ any() [1/2]

template<bool NA, typename T >
sugar::Any<NA,T> Rcpp::any ( const Rcpp::VectorBase< LGLSXP, NA, T > &  t)
inline

Definition at line 81 of file any.h.

◆ any() [2/2]

template<class InputIterator , class T >
bool Rcpp::any ( InputIterator  first,
InputIterator  last,
const T &  value 
)
inline

stl like algorithm to identify if any of the objects in the range is equal to the value

Definition at line 89 of file algo.h.

References __any().

Referenced by Rcpp::sugar::Median< RTYPE, NA, T, NA_RM >::operator result_type(), and Rcpp::sugar::Median< STRSXP, NA, T, NA_RM >::operator result_type().

Here is the call graph for this function:

◆ any_if()

template<class InputIterator , class Predicate >
bool Rcpp::any_if ( InputIterator  first,
InputIterator  last,
Predicate  pred 
)
inline

stl-like algorithm to identify if the predicate is true for any of the objects in the range

Definition at line 155 of file algo.h.

References __any_if().

Here is the call graph for this function:

◆ as() [1/2]

template<typename T >
T Rcpp::as ( SEXP  x)

Generic converted from SEXP to the typename. T can be any type that has a constructor taking a SEXP, which is the case for all our RObject and derived classes.

If it is not possible to add the SEXP constructor, e.g you don't control the type, you can specialize the as template to perform the requested conversion

This is used for example in Environment, so that for example the code below will work as long as there is a way to as<> the Foo type

Environment x = ... ; // some environment Foo y = x["bla"] ; // if as<Foo> makes sense then this works !!

Definition at line 151 of file as.h.

Referenced by CppProperty_GetMethod_SetMethod< Class, PROP >::set(), CppProperty_GetConstMethod_SetMethod< Class, PROP >::set(), CppProperty_GetMethod_SetPointer< Class, PROP >::set(), CppProperty_GetConstMethod_SetPointer< Class, PROP >::set(), CppProperty_GetPointer_SetMethod< Class, PROP >::set(), and CppProperty_GetPointer_SetPointer< Class, PROP >::set().

◆ as() [2/2]

template<>
SEXP Rcpp::as ( SEXP  x)
inline

Definition at line 164 of file as.h.

◆ as< char >()

template<>
char Rcpp::as< char > ( SEXP  x)
inline

Definition at line 155 of file as.h.

References Rcpp::internal::check_single_string().

Here is the call graph for this function:

◆ as_vector()

template<int RTYPE, bool NA, typename T >
Rcpp::Vector<RTYPE> Rcpp::as_vector ( const MatrixBase< RTYPE, NA, T > &  t)
inline

Definition at line 55 of file as_vector.h.

References Rcpp::internal::as_vector__impl().

Here is the call graph for this function:

◆ assign() [1/3]

bool Rcpp::assign ( const std::string &  name,
const Shield< SEXP > &  x 
) const

Definition at line 214 of file Environment.h.

References assign().

Here is the call graph for this function:

◆ assign() [2/3]

template<typename WRAPPABLE >
bool Rcpp::assign ( const std::string &  name,
const WRAPPABLE &  x 
) const

wrap and assign. If there is a wrap method taking an object of WRAPPABLE type, then it is wrapped and the corresponding SEXP is assigned in the environment

Parameters
namename of the object to assign
xwrappable object. anything that has a wrap( WRAPPABLE ) is fine

◆ assign() [3/3]

bool Rcpp::assign ( const std::string &  name,
SEXP  x 
) const

Attempts to assign x to name in this environment

Parameters
namename of the object to assign
xobject to assign
Returns
true if the assign was successfull see ?bindingIsLocked
Exceptions
binding_is_lockedif the binding is locked

Definition at line 207 of file Environment.h.

References bindingIsLocked(), and exists().

Referenced by assign().

Here is the call graph for this function:

◆ bare_as()

template<typename T >
traits::remove_const_and_reference<T>::type Rcpp::bare_as ( SEXP  x)
inline

Definition at line 160 of file as.h.

◆ base_env()

static Environment_Impl Rcpp::base_env ( )
static

◆ base_namespace()

static Environment_Impl Rcpp::base_namespace ( )
static
Returns
the base namespace. See ?baseenv

Definition at line 353 of file Environment.h.

◆ bindingIsActive()

bool Rcpp::bindingIsActive ( const std::string &  name) const
Parameters
namename of a binding
Returns
true if the binding is active in this environment see ?bindingIsActive
Exceptions
no_such_bindingif there is no such binding in this environment

Definition at line 315 of file Environment.h.

References exists().

Here is the call graph for this function:

◆ bindingIsLocked()

bool Rcpp::bindingIsLocked ( const std::string &  name) const
Parameters
namename of a potential binding
Returns
true if the binding is locked in this environment see ?bindingIsLocked
Exceptions
no_such_bindingif there is no such binding in this environment

Definition at line 300 of file Environment.h.

References exists().

Referenced by assign(), and remove().

Here is the call graph for this function:

◆ checkUserInterrupt()

void Rcpp::checkUserInterrupt ( )
inline

Definition at line 59 of file Interrupt.h.

◆ clamp()

template<int RTYPE, bool NA, typename T >
sugar::Clamp_Primitive_Vector_Primitive<RTYPE,NA,T> Rcpp::clamp ( typename Rcpp::traits::storage_type< RTYPE >::type  lhs,
const Rcpp::VectorBase< RTYPE, NA, T > &  vec,
typename Rcpp::traits::storage_type< RTYPE >::type  rhs 
)
inline

Definition at line 84 of file clamp.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ clone()

template<typename T >
T Rcpp::clone ( const T &  object)

Definition at line 33 of file clone.h.

Referenced by Rcpp::Nullable< T >::clone(), and sample().

◆ col()

template<int RTYPE, bool LHS_NA, typename LHS_T >
sugar::Col<RTYPE,LHS_NA,LHS_T> Rcpp::col ( const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > &  lhs)
inline

Definition at line 55 of file col.h.

◆ collapse()

template<bool NA, typename T >
String Rcpp::collapse ( const VectorBase< STRSXP, NA, T > &  vec)
inline

Definition at line 41 of file collapse.h.

References Rcpp::sugar::collapse__impl(), Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref(), and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

Here is the call graph for this function:

◆ colMeans()

template<int RTYPE, bool NA, typename T >
sugar::detail::ColMeansReturn<RTYPE>::type Rcpp::colMeans ( const MatrixBase< RTYPE, NA, T > &  x,
bool  na_rm = false 
)
inline

Definition at line 951 of file rowSums.h.

◆ colnames()

internal::DimNameProxy Rcpp::colnames ( SEXP  x)
inline

Definition at line 213 of file Matrix.h.

◆ colSums()

template<int RTYPE, bool NA, typename T >
sugar::detail::ColSumsReturn<RTYPE>::type Rcpp::colSums ( const MatrixBase< RTYPE, NA, T > &  x,
bool  na_rm = false 
)
inline

Definition at line 933 of file rowSums.h.

◆ converter()

template<typename FROM , typename TO >
void Rcpp::converter ( const char *  from,
const char *  to,
TO(*)(FROM)  fun,
const char *  docstring = 0 
)

Definition at line 377 of file Module.h.

◆ cummax() [1/2]

template<bool NA, typename T >
sugar::Cummax<INTSXP, NA, T> Rcpp::cummax ( const VectorBase< INTSXP, NA, T > &  t)
inline

Definition at line 59 of file cummax.h.

◆ cummax() [2/2]

template<bool NA, typename T >
sugar::Cummax<REALSXP, NA, T> Rcpp::cummax ( const VectorBase< REALSXP, NA, T > &  t)
inline

Definition at line 64 of file cummax.h.

◆ cummin() [1/2]

template<bool NA, typename T >
sugar::Cummin<INTSXP, NA, T> Rcpp::cummin ( const VectorBase< INTSXP, NA, T > &  t)
inline

Definition at line 59 of file cummin.h.

◆ cummin() [2/2]

template<bool NA, typename T >
sugar::Cummin<REALSXP, NA, T> Rcpp::cummin ( const VectorBase< REALSXP, NA, T > &  t)
inline

Definition at line 64 of file cummin.h.

◆ cumprod() [1/3]

template<bool NA, typename T >
sugar::Cumprod<CPLXSXP, NA, T> Rcpp::cumprod ( const VectorBase< CPLXSXP, NA, T > &  t)
inline

Definition at line 69 of file cumprod.h.

◆ cumprod() [2/3]

template<bool NA, typename T >
sugar::Cumprod<INTSXP, NA, T> Rcpp::cumprod ( const VectorBase< INTSXP, NA, T > &  t)
inline

Definition at line 59 of file cumprod.h.

◆ cumprod() [3/3]

template<bool NA, typename T >
sugar::Cumprod<REALSXP, NA, T> Rcpp::cumprod ( const VectorBase< REALSXP, NA, T > &  t)
inline

Definition at line 64 of file cumprod.h.

◆ cumsum() [1/2]

template<bool NA, typename T >
sugar::Cumsum<INTSXP,NA,T> Rcpp::cumsum ( const VectorBase< INTSXP, NA, T > &  t)
inline

Definition at line 59 of file cumsum.h.

◆ cumsum() [2/2]

template<bool NA, typename T >
sugar::Cumsum<REALSXP,NA,T> Rcpp::cumsum ( const VectorBase< REALSXP, NA, T > &  t)
inline

Definition at line 64 of file cumsum.h.

◆ detzcode()

static int_fast32_t Rcpp::detzcode ( const char *const  codep)
static

Definition at line 482 of file date.cpp.

Referenced by tzload().

◆ detzcode64()

static int_fast64_t Rcpp::detzcode64 ( const char *const  codep)
static

Definition at line 489 of file date.cpp.

Referenced by tzload().

◆ dexp()

template<bool NA, typename T >
stats::D1<REALSXP,NA,T> Rcpp::dexp ( const Rcpp::VectorBase< REALSXP, NA, T > &  x,
double  shape,
bool  log = false 
)
inline

Definition at line 81 of file exp.h.

References Rcpp::algorithm::log().

Here is the call graph for this function:

◆ diag()

template<typename T >
sugar::diag_result_type_trait<T>::type Rcpp::diag ( const T &  t)
inline

Definition at line 83 of file diag.h.

Referenced by Rcpp::MatrixBase< RTYPE, na, MATRIX >::eye(), lower_tri(), and upper_tri().

◆ diff() [1/2]

template<bool LHS_NA, typename LHS_T >
sugar::Diff<INTSXP,LHS_NA,LHS_T> Rcpp::diff ( const VectorBase< INTSXP, LHS_NA, LHS_T > &  lhs)
inline

◆ diff() [2/2]

template<bool LHS_NA, typename LHS_T >
sugar::Diff<REALSXP,LHS_NA,LHS_T> Rcpp::diff ( const VectorBase< REALSXP, LHS_NA, LHS_T > &  lhs)
inline

Definition at line 131 of file diff.h.

◆ differ_by_repeat()

static int Rcpp::differ_by_repeat ( const time_t  t1,
const time_t  t0 
)
static

Definition at line 496 of file date.cpp.

References SECSPERREPEAT, SECSPERREPEAT_BITS, TYPE_BIT, TYPE_INTEGRAL, and TYPE_SIGNED.

Referenced by tzload().

◆ duplicated()

template<int RTYPE, bool NA, typename T >
LogicalVector Rcpp::duplicated ( const VectorBase< RTYPE, NA, T > &  x)
inline

Definition at line 28 of file duplicated.h.

References Rcpp::sugar::IndexHash< RTYPE >::fill_and_get_duplicated().

Here is the call graph for this function:

◆ empty_env()

static Environment_Impl Rcpp::empty_env ( )
static
Returns
The empty environment. See ?emptyenv

Definition at line 339 of file Environment.h.

◆ Environment_Impl() [1/3]

Rcpp::Environment_Impl ( const std::string &  name)

Gets the environment associated with the given name

Parameters
namename of the environment, e.g "package:Rcpp"

◆ Environment_Impl() [2/3]

Rcpp::Environment_Impl ( int  pos)

Gets the environment in the given position of the search path

Parameters
pos(1-based) position of the environment, e.g pos=1 gives the global environment

◆ Environment_Impl() [3/3]

Rcpp::Environment_Impl ( SEXP  x)

wraps the given environment

if the SEXP is not an environment, and exception is thrown

Definition at line 57 of file Environment.h.

Referenced by namespace_env(), new_child(), and parent().

◆ eval() [1/2]

SEXP Rcpp::eval ( ) const

eval this call in the global environment

Definition at line 135 of file Language.h.

References Rcpp_fast_eval().

Referenced by Rcpp::attributes::checkRSignature().

Here is the call graph for this function:

◆ eval() [2/2]

SEXP Rcpp::eval ( SEXP  env) const

eval this call in the requested environment

Definition at line 142 of file Language.h.

References Rcpp_fast_eval().

Here is the call graph for this function:

◆ exists()

bool Rcpp::exists ( const std::string &  name) const

Indicates if an object called name exists in the environment

Parameters
namename of the object
Returns
true if the object exists in the environment

Definition at line 190 of file Environment.h.

Referenced by assign(), bindingIsActive(), bindingIsLocked(), Rcpp::attributes::ExportsGenerator::commit(), Rcpp::attributes::createDirectory(), Rcpp::attributes::ExportsGenerator::ExportsGenerator(), lockBinding(), remove(), Rcpp::attributes::removeFile(), and unlockBinding().

◆ fast_eval() [1/2]

SEXP Rcpp::fast_eval ( ) const

Definition at line 146 of file Language.h.

References Rcpp::internal::Rcpp_eval_impl().

Here is the call graph for this function:

◆ fast_eval() [2/2]

SEXP Rcpp::fast_eval ( SEXP  env) const

Definition at line 149 of file Language.h.

References Rcpp::internal::Rcpp_eval_impl().

Here is the call graph for this function:

◆ finalizer_wrapper()

template<typename T , void Finalizer>
void Rcpp::finalizer_wrapper ( SEXP  p)

Definition at line 35 of file XPtr.h.

References DEMANGLE, and RCPP_DEBUG_3.

◆ find() [1/2]

SEXP Rcpp::find ( const std::string &  name) const

Get an object from the environment or one of its parents

Parameters
namename of the object

Definition at line 145 of file Environment.h.

References Rcpp::internal::Rcpp_eval_impl().

Referenced by Rcpp::attributes::checkRSignature(), Rcpp::attributes::CppExportsIncludeGenerator::commit(), and Rcpp::SubsetProxy< RTYPE, StoragePolicy, RHS_RTYPE, RHS_NA, RHS_T >::get_indices().

Here is the call graph for this function:

◆ find() [2/2]

SEXP Rcpp::find ( Symbol  name) const

Get an object from the environment or one of its parents

Parameters
namesymbol name to call

Definition at line 165 of file Environment.h.

References Rcpp::internal::Rcpp_eval_impl().

Here is the call graph for this function:

◆ Formula_Impl() [1/2]

Rcpp::Formula_Impl ( const std::string &  code)
explicit

Definition at line 69 of file Formula.h.

References Rcpp::internal::convert_using_rfunction().

Here is the call graph for this function:

◆ Formula_Impl() [2/2]

Rcpp::Formula_Impl ( SEXP  x)

Definition at line 40 of file Formula.h.

References Rcpp::internal::convert_using_rfunction().

Here is the call graph for this function:

◆ get() [1/2]

◆ get() [2/2]

SEXP Rcpp::get ( Symbol  name) const

Get an object from the environment

Parameters
namesymbol name to call
Returns
a SEXP (possibly R_NilValue)

Definition at line 124 of file Environment.h.

References Rcpp::internal::Rcpp_eval_impl().

Here is the call graph for this function:

◆ get_return_type()

template<typename RESULT_TYPE >
std::string Rcpp::get_return_type ( )
inline

Definition at line 42 of file get_return_type.h.

◆ get_return_type< Rcpp::CharacterVector >()

template<>
std::string Rcpp::get_return_type< Rcpp::CharacterVector > ( )
inline

Definition at line 74 of file get_return_type.h.

◆ get_return_type< Rcpp::ExpressionVector >()

template<>
std::string Rcpp::get_return_type< Rcpp::ExpressionVector > ( )
inline

Definition at line 66 of file get_return_type.h.

◆ get_return_type< Rcpp::IntegerVector >()

template<>
std::string Rcpp::get_return_type< Rcpp::IntegerVector > ( )
inline

Definition at line 54 of file get_return_type.h.

◆ get_return_type< Rcpp::List >()

template<>
std::string Rcpp::get_return_type< Rcpp::List > ( )
inline

Definition at line 70 of file get_return_type.h.

◆ get_return_type< Rcpp::NumericVector >()

template<>
std::string Rcpp::get_return_type< Rcpp::NumericVector > ( )
inline

Definition at line 58 of file get_return_type.h.

◆ get_return_type< Rcpp::RawVector >()

template<>
std::string Rcpp::get_return_type< Rcpp::RawVector > ( )
inline

Definition at line 62 of file get_return_type.h.

◆ get_return_type< SEXP >()

template<>
std::string Rcpp::get_return_type< SEXP > ( )
inline

Definition at line 50 of file get_return_type.h.

◆ get_return_type< void_type >()

template<>
std::string Rcpp::get_return_type< void_type > ( )
inline

Definition at line 46 of file get_return_type.h.

◆ get_return_type_dispatch() [1/2]

template<typename RESULT_TYPE >
std::string Rcpp::get_return_type_dispatch ( Rcpp::traits::false_type  )
inline

Definition at line 30 of file get_return_type.h.

References demangle().

Here is the call graph for this function:

◆ get_return_type_dispatch() [2/2]

template<typename RESULT_TYPE >
std::string Rcpp::get_return_type_dispatch ( Rcpp::traits::true_type  )
inline

Definition at line 34 of file get_return_type.h.

References demangle().

Here is the call graph for this function:

◆ getnum()

static const char * Rcpp::getnum ( const char *  strp,
int *const  nump,
const int  min,
const int  max 
)
static

Definition at line 568 of file date.cpp.

References is_digit, max(), and min().

Referenced by getrule(), and getsecs().

Here is the call graph for this function:

◆ getoffset()

static const char* Rcpp::getoffset ( const char *  strp,
int_fast32_t *const  offsetp 
)
static

Definition at line 521 of file date.cpp.

References getsecs().

Referenced by tzparse().

Here is the call graph for this function:

◆ getqzname()

static const char* Rcpp::getqzname ( const char *  strp,
const int  delim 
)
static

Definition at line 513 of file date.cpp.

Referenced by tzparse().

◆ getrule()

static const char * Rcpp::getrule ( const char *  strp,
struct rule *const  rulep 
)
static

◆ getsecs()

static const char * Rcpp::getsecs ( const char *  strp,
int_fast32_t *  secsp 
)
static

Definition at line 537 of file date.cpp.

References DAYSPERWEEK, getnum(), HOURSPERDAY, MINSPERHOUR, SECSPERHOUR, and SECSPERMIN.

Referenced by getoffset(), and getrule().

Here is the call graph for this function:

◆ getzname()

static const char* Rcpp::getzname ( const char *  strp)
static

Definition at line 504 of file date.cpp.

References is_digit.

Referenced by tzparse().

◆ global_env()

static Environment_Impl Rcpp::global_env ( )
static
Returns
the global environment. See ?globalenv

Definition at line 332 of file Environment.h.

◆ gmtime_()

struct tm * Rcpp::gmtime_ ( const time_t *const  x)
inline

Definition at line 136 of file routines.h.

References GET_CALLABLE, and tm.

Referenced by registerFunctions(), Rcpp::Date::update_tm(), and Rcpp::Datetime::update_tm().

◆ gmtload()

static void Rcpp::gmtload ( struct state *const  sp)
static

Definition at line 1356 of file date.cpp.

References gmt, tzload(), and tzparse().

Referenced by gmtsub().

Here is the call graph for this function:

◆ gmtsub()

static struct tm* Rcpp::gmtsub ( const time_t *const  timep,
const int_fast32_t  offset,
struct tm *const  tmp 
)
static

Definition at line 1365 of file date.cpp.

References gmt_is_set, gmtload(), gmtptr, timesub(), and tm.

Here is the call graph for this function:

◆ grow() [1/3]

SEXP Rcpp::grow ( const char *  head,
SEXP  tail 
)
inline

Definition at line 68 of file grow.h.

References grow(), head(), and tail().

Here is the call graph for this function:

◆ grow() [2/3]

template<typename T >
SEXP Rcpp::grow ( const T &  head,
SEXP  tail 
)

grows a pairlist. First wrap the head into a SEXP, then grow the tail pairlist

Definition at line 63 of file grow.h.

References Rcpp::internal::grow__dispatch(), head(), and tail().

Here is the call graph for this function:

◆ grow() [3/3]

SEXP Rcpp::grow ( SEXP  head,
SEXP  tail 
)
inline

◆ head()

template<int RTYPE, bool NA, typename T >
sugar::Head<RTYPE,NA,T> Rcpp::head ( const VectorBase< RTYPE, NA, T > &  t,
R_xlen_t  n 
)
inline

Definition at line 53 of file head.h.

Referenced by grow(), and Rcpp::internal::grow__dispatch().

◆ ifelse() [1/7]

template<bool COND_NA, typename COND_T >
sugar::IfElse_Primitive_Primitive< LGLSXP,COND_NA,COND_T > Rcpp::ifelse ( const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &  cond,
bool  lhs,
bool  rhs 
)
inline

Definition at line 419 of file ifelse.h.

◆ ifelse() [2/7]

template<int RTYPE, bool COND_NA, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::IfElse< RTYPE,COND_NA,COND_T,LHS_NA,LHS_T,RHS_NA,RHS_T > Rcpp::ifelse ( const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &  cond,
const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 342 of file ifelse.h.

◆ ifelse() [3/7]

template<int RTYPE, bool COND_NA, typename COND_T , bool RHS_NA, typename RHS_T >
sugar::IfElse_Vector_Primitive< RTYPE,COND_NA,COND_T,RHS_NA,RHS_T > Rcpp::ifelse ( const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &  cond,
const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &  lhs,
typename traits::storage_type< RTYPE >::type  rhs 
)
inline

Definition at line 371 of file ifelse.h.

◆ ifelse() [4/7]

template<bool COND_NA, typename COND_T >
sugar::IfElse_Primitive_Primitive< REALSXP,COND_NA,COND_T > Rcpp::ifelse ( const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &  cond,
double  lhs,
double  rhs 
)
inline

Definition at line 383 of file ifelse.h.

◆ ifelse() [5/7]

template<bool COND_NA, typename COND_T >
sugar::IfElse_Primitive_Primitive< INTSXP,COND_NA,COND_T > Rcpp::ifelse ( const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &  cond,
int  lhs,
int  rhs 
)
inline

Definition at line 395 of file ifelse.h.

◆ ifelse() [6/7]

template<bool COND_NA, typename COND_T >
sugar::IfElse_Primitive_Primitive< CPLXSXP,COND_NA,COND_T > Rcpp::ifelse ( const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &  cond,
Rcomplex  lhs,
Rcomplex  rhs 
)
inline

Definition at line 407 of file ifelse.h.

◆ ifelse() [7/7]

template<int RTYPE, bool COND_NA, typename COND_T , bool RHS_NA, typename RHS_T >
sugar::IfElse_Primitive_Vector< RTYPE,COND_NA,COND_T,RHS_NA,RHS_T > Rcpp::ifelse ( const Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > &  cond,
typename traits::storage_type< RTYPE >::type  lhs,
const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 357 of file ifelse.h.

◆ in()

template<int RTYPE, bool NA, typename T , bool RHS_NA, typename RHS_T >
LogicalVector Rcpp::in ( const VectorBase< RTYPE, NA, T > &  x,
const VectorBase< RTYPE, RHS_NA, RHS_T > &  table 
)
inline

Definition at line 77 of file unique.h.

References Rcpp::sugar::In< RTYPE, TABLE_T >::get(), Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref(), and table().

Here is the call graph for this function:

◆ increment_overflow()

static int Rcpp::increment_overflow ( int *const  ip,
int  j 
)
static

Definition at line 453 of file date.cpp.

Referenced by timesub().

◆ increment_overflow_time()

static int Rcpp::increment_overflow_time ( time_t *  tp,
int_fast32_t  j 
)
static

Definition at line 468 of file date.cpp.

References time_t_max, time_t_min, and TYPE_SIGNED.

Referenced by tzparse().

◆ intersect()

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
Vector<RTYPE> Rcpp::intersect ( const VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 171 of file setdiff.h.

References Rcpp::sugar::Intersect< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get(), and Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ is()

template<typename T >
bool Rcpp::is ( SEXP  x)

identify if an x can be seen as the T type

example: bool is_list = is<List>( x ) ;

Definition at line 53 of file is.h.

Referenced by RCPP_API_CLASS().

◆ is_false()

template<bool NA, typename T >
bool Rcpp::is_false ( const Rcpp::sugar::SingleLogicalResult< NA, T > &  x)
inline

Definition at line 33 of file is.h.

◆ is_finite()

template<int RTYPE, bool NA, typename T >
sugar::IsFinite<RTYPE,NA,T> Rcpp::is_finite ( const Rcpp::VectorBase< RTYPE, NA, T > &  t)
inline

Definition at line 49 of file is_finite.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ is_infinite()

template<int RTYPE, bool NA, typename T >
sugar::IsInfinite<RTYPE,NA,T> Rcpp::is_infinite ( const Rcpp::VectorBase< RTYPE, NA, T > &  t)
inline

Definition at line 49 of file is_infinite.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ is_na() [1/6]

sugar::IsNa_Vector_is_na<oldDatetimeVector> Rcpp::is_na ( const oldDatetimeVector x)
inline

Definition at line 95 of file is_na.h.

◆ is_na() [2/6]

sugar::IsNa_Vector_is_na<oldDateVector> Rcpp::is_na ( const oldDateVector x)
inline

Definition at line 99 of file is_na.h.

◆ is_na() [3/6]

template<bool NA, typename T >
bool Rcpp::is_na ( const Rcpp::sugar::SingleLogicalResult< NA, T > &  x)
inline

Definition at line 38 of file is.h.

References is_na().

Here is the call graph for this function:

◆ is_na() [4/6]

◆ is_na() [5/6]

Definition at line 103 of file is_na.h.

◆ is_na() [6/6]

Definition at line 106 of file is_na.h.

◆ is_nan()

template<int RTYPE, bool NA, typename T >
sugar::IsNaN<RTYPE,NA,T> Rcpp::is_nan ( const Rcpp::VectorBase< RTYPE, NA, T > &  t)
inline

Definition at line 49 of file is_nan.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ is_true()

template<bool NA, typename T >
bool Rcpp::is_true ( const Rcpp::sugar::SingleLogicalResult< NA, T > &  x)
inline

Definition at line 28 of file is.h.

◆ is_user_database()

bool Rcpp::is_user_database ( ) const

Indicates if this is a user defined database.

Definition at line 324 of file Environment.h.

Referenced by ls().

◆ isLocked()

bool Rcpp::isLocked ( ) const
Returns
true if this environment is locked see ?environmentIsLocked for details of what this means

Definition at line 233 of file Environment.h.

◆ Language_Impl() [1/5]

Rcpp::Language_Impl ( )

Definition at line 42 of file Language.h.

◆ Language_Impl() [2/5]

Rcpp::Language_Impl ( const Function function)
explicit

Creates a call to the function

Parameters
functionfunction to call

Definition at line 84 of file Language.h.

◆ Language_Impl() [3/5]

Rcpp::Language_Impl ( const std::string &  symbol)
explicit

Creates a call using the given symbol as the function name

Parameters
symbolsymbol name to call

Language( "rnorm" ) makes a SEXP similar to this (expressed in R)

as.call( as.list( as.name( "rnorm") ) ) call( "rnorm" )

Definition at line 63 of file Language.h.

◆ Language_Impl() [4/5]

Rcpp::Language_Impl ( const Symbol symbol)
explicit

Creates a call using the given symbol as the function name

Parameters
symbolsymbol name to call

Language( Symbol("rnorm") ) makes a SEXP similar to this:

call( "rnorm" )

Definition at line 75 of file Language.h.

◆ Language_Impl() [5/5]

Rcpp::Language_Impl ( SEXP  x)

Attempts to convert the SEXP to a call

Exceptions
not_compatibleif the SEXP could not be converted to a call using as.call

Definition at line 50 of file Language.h.

◆ lapply() [1/2]

template<typename T , typename Function >
List Rcpp::lapply ( const ListOf< T > &  t,
Function  fun 
)

Definition at line 129 of file ListOf.h.

References Rcpp::ListOf< T >::get(), and lapply().

Here is the call graph for this function:

◆ lapply() [2/2]

template<int RTYPE, bool NA, typename T , typename Function >
sugar::Lapply<RTYPE,NA,T,Function> Rcpp::lapply ( const Rcpp::VectorBase< RTYPE, NA, T > &  t,
Function  fun 
)
inline

Definition at line 55 of file lapply.h.

Referenced by lapply().

◆ leaps_thru_end_of()

static int Rcpp::leaps_thru_end_of ( const int  y)
static

Definition at line 1222 of file date.cpp.

Referenced by timesub().

◆ lock()

void Rcpp::lock ( bool  bindings = false)

locks this environment. See ?lockEnvironment

Parameters
bindingsalso lock the bindings of this environment ?

Definition at line 264 of file Environment.h.

◆ lockBinding()

void Rcpp::lockBinding ( const std::string &  name)

Locks the given binding in the environment. see ?bindingIsLocked

Exceptions
no_such_bindingif there is no such binding in this environment

Definition at line 274 of file Environment.h.

References exists().

Here is the call graph for this function:

◆ lower_tri()

template<int RTYPE, bool NA, typename T >
sugar::LowerTri<RTYPE, NA, T> Rcpp::lower_tri ( const Rcpp::MatrixBase< RTYPE, NA, T > &  lhs,
bool  diag = false 
)
inline

Definition at line 63 of file lower_tri.h.

References diag().

Here is the call graph for this function:

◆ ls()

SEXP Rcpp::ls ( bool  all) const

The list of objects in the environment

the same as calling this from R:

ls( envir = this, all = all )

Parameters
allsame meaning as in ?ls

Definition at line 85 of file Environment.h.

References all(), and is_user_database().

Here is the call graph for this function:

◆ make_string_transformer()

template<typename UnaryOperator >
StringTransformer<UnaryOperator> Rcpp::make_string_transformer ( const UnaryOperator &  fun)

Definition at line 50 of file StringTransformer.h.

◆ mapply() [1/4]

template<int RTYPE, bool NA_1, typename T_1 , bool NA_2, typename T_2 , typename Function >
sugar::Mapply_2<RTYPE,NA_1,T_1,NA_2,T_2,Function> Rcpp::mapply ( const Rcpp::VectorBase< RTYPE, NA_1, T_1 > &  t1,
const Rcpp::VectorBase< RTYPE, NA_2, T_2 > &  t2,
Function  fun 
)
inline

Definition at line 126 of file mapply_2.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ mapply() [2/4]

template<int RTYPE, bool NA_1, typename T_1 , typename Function >
sugar::Mapply_2_Vector_Primitive<RTYPE,NA_1,T_1,double,Function> Rcpp::mapply ( const Rcpp::VectorBase< RTYPE, NA_1, T_1 > &  t1,
double  t2,
Function  fun 
)
inline

Definition at line 132 of file mapply_2.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ mapply() [3/4]

template<int RTYPE_1, bool NA_1, typename T_1 , int RTYPE_2, bool NA_2, typename T_2 , int RTYPE_3, bool NA_3, typename T_3 , typename Function >
sugar::Mapply_3<RTYPE_1,NA_1,T_1,RTYPE_2,NA_2,T_2,RTYPE_3, NA_3,T_3,Function> Rcpp::mapply ( const Rcpp::VectorBase< RTYPE_1, NA_1, T_1 > &  t1,
const Rcpp::VectorBase< RTYPE_2, NA_2, T_2 > &  t2,
const Rcpp::VectorBase< RTYPE_3, NA_3, T_3 > &  t3,
Function  fun 
)
inline

Definition at line 76 of file mapply_3.h.

◆ mapply() [4/4]

template<int RTYPE, bool NA_2, typename T_2 , typename Function >
sugar::Mapply_2_Primitive_Vector<RTYPE,double, NA_2,T_2,Function> Rcpp::mapply ( double  t1,
const Rcpp::VectorBase< RTYPE, NA_2, T_2 > &  t2,
Function  fun 
)
inline

Definition at line 138 of file mapply_2.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ match()

template<int RTYPE, bool NA, typename T , bool RHS_NA, typename RHS_T >
IntegerVector Rcpp::match ( const VectorBase< RTYPE, NA, T > &  x,
const VectorBase< RTYPE, RHS_NA, RHS_T > &  table_ 
)
inline

◆ max()

template<int RTYPE, bool NA, typename T >
sugar::Max<RTYPE,NA,T> Rcpp::max ( const VectorBase< RTYPE, NA, T > &  x)

◆ mean() [1/4]

template<bool NA, typename T >
sugar::Mean<CPLXSXP,NA,T> Rcpp::mean ( const VectorBase< CPLXSXP, NA, T > &  t)
inline

Definition at line 150 of file mean.h.

◆ mean() [2/4]

template<bool NA, typename T >
sugar::Mean<INTSXP,NA,T> Rcpp::mean ( const VectorBase< INTSXP, NA, T > &  t)
inline

Definition at line 145 of file mean.h.

◆ mean() [3/4]

template<bool NA, typename T >
sugar::Mean<LGLSXP,NA,T> Rcpp::mean ( const VectorBase< LGLSXP, NA, T > &  t)
inline

Definition at line 155 of file mean.h.

◆ mean() [4/4]

template<bool NA, typename T >
sugar::Mean<REALSXP,NA,T> Rcpp::mean ( const VectorBase< REALSXP, NA, T > &  t)
inline

◆ median()

template<int RTYPE, bool NA, typename T >
sugar::median_detail::result<RTYPE>::type Rcpp::median ( const Rcpp::VectorBase< RTYPE, NA, T > &  x,
bool  na_rm = false 
)
inline

Definition at line 283 of file median.h.

◆ message()

void Rcpp::message ( SEXP  s)
inline

Definition at line 26 of file message.h.

References base_env().

Referenced by stop(), and warning().

Here is the call graph for this function:

◆ min()

◆ mktime00()

double Rcpp::mktime00 ( struct tm tm)
inline

Definition at line 130 of file routines.h.

References GET_CALLABLE, and tm.

Referenced by Rcpp::Date::Date(), and registerFunctions().

◆ na_omit()

template<int RTYPE, bool NA, typename T >
Vector<RTYPE> Rcpp::na_omit ( const VectorBase< RTYPE, NA, T > &  t)
inline

Definition at line 75 of file na_omit.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ Named() [1/2]

Argument Rcpp::Named ( const std::string &  name)
inline

◆ Named() [2/2]

template<typename T >
traits::named_object<T> Rcpp::Named ( const std::string &  name,
const T &  o 
)
inline

Definition at line 44 of file Named.h.

◆ namespace_env()

static Environment_Impl Rcpp::namespace_env ( const std::string &  package)
static
Parameters
namethe name of the package of which we want the namespace
Returns
the namespace of the package
Exceptions
no_such_namespace

Definition at line 371 of file Environment.h.

References Environment_Impl(), and Rcpp_fast_eval().

Referenced by Rcpp::attributes::checkRSignature(), and Rcpp::attributes::CppExportsGenerator::writeEnd().

Here is the call graph for this function:

◆ new_child()

Environment_Impl Rcpp::new_child ( bool  hashed) const

creates a new environment whose this is the parent

Definition at line 394 of file Environment.h.

References Environment_Impl(), and Rcpp_fast_eval().

Here is the call graph for this function:

◆ new_env() [1/2]

Environment Rcpp::new_env ( int  size = 29)
inline

Definition at line 47 of file Environment.h.

References _.

◆ new_env() [2/2]

Environment Rcpp::new_env ( SEXP  parent,
int  size = 29 
)
inline

Definition at line 52 of file Environment.h.

References _, and parent().

Here is the call graph for this function:

◆ no_init() [1/2]

no_init_matrix Rcpp::no_init ( int  nr,
int  nc 
)
inline

Definition at line 81 of file no_init.h.

◆ no_init() [2/2]

◆ noNA() [1/3]

template<int RTYPE, bool NA, typename VECTOR >
sugar::Nona<RTYPE,NA,VECTOR> Rcpp::noNA ( const Rcpp::VectorBase< RTYPE, NA, VECTOR > &  vec)
inline

Definition at line 74 of file nona.h.

Referenced by convolve11cpp().

◆ noNA() [2/3]

sugar::NonaPrimitive<double> Rcpp::noNA ( double  x)
inline

Definition at line 78 of file nona.h.

◆ noNA() [3/3]

sugar::NonaPrimitive<int> Rcpp::noNA ( int  x)
inline

Definition at line 81 of file nona.h.

◆ operator SEXP()

Rcpp::operator SEXP ( ) const
inline

Definition at line 53 of file StretchyList.h.

◆ operator!=() [1/4]

bool Rcpp::operator!= ( const Date d1,
const Date d2 
)
inline

Definition at line 170 of file Date.h.

◆ operator!=() [2/4]

bool Rcpp::operator!= ( const Datetime d1,
const Datetime d2 
)
inline

Definition at line 164 of file Datetime.h.

◆ operator!=() [3/4]

bool Rcpp::operator!= ( const String::const_StringProxy lhs,
const String rhs 
)
inline

Definition at line 731 of file String.h.

◆ operator!=() [4/4]

bool Rcpp::operator!= ( const String::StringProxy lhs,
const String rhs 
)
inline

Definition at line 723 of file String.h.

◆ operator*() [1/5]

template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if<traits::is_convertible<typename traits::remove_const_and_reference<U>::type, typename traits::storage_type<RTYPE>::type>::value, sugar::Times_Vector_Primitive_nona< RTYPE , NA , T > >::type Rcpp::operator* ( const typename sugar::NonaPrimitive< U > &  rhs,
const VectorBase< RTYPE, NA, T > &  lhs 
)
inline

Definition at line 459 of file times.h.

◆ operator*() [2/5]

template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if<traits::is_convertible<typename traits::remove_const_and_reference<U>::type, typename traits::storage_type<RTYPE>::type>::value, sugar::Times_Vector_Primitive< RTYPE , NA , T > >::type Rcpp::operator* ( const U &  rhs,
const VectorBase< RTYPE, NA, T > &  lhs 
)
inline

Definition at line 439 of file times.h.

◆ operator*() [3/5]

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::Times_Vector_Vector< RTYPE , LHS_NA, LHS_T, RHS_NA, RHS_T > Rcpp::operator* ( const VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 473 of file times.h.

◆ operator*() [4/5]

template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if<traits::is_convertible<typename traits::remove_const_and_reference<U>::type, typename traits::storage_type<RTYPE>::type>::value, sugar::Times_Vector_Primitive_nona<RTYPE,NA,T> >::type Rcpp::operator* ( const VectorBase< RTYPE, NA, T > &  lhs,
const typename sugar::NonaPrimitive< U > &  rhs 
)
inline

Definition at line 450 of file times.h.

◆ operator*() [5/5]

template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if<traits::is_convertible<typename traits::remove_const_and_reference<U>::type, typename traits::storage_type<RTYPE>::type>::value, sugar::Times_Vector_Primitive<RTYPE,NA,T> >::type Rcpp::operator* ( const VectorBase< RTYPE, NA, T > &  lhs,
const U &  rhs 
)
inline

Definition at line 429 of file times.h.

◆ operator+() [1/8]

Date Rcpp::operator+ ( const Date date,
int  offset 
)
inline

Definition at line 156 of file Date.h.

◆ operator+() [2/8]

Datetime Rcpp::operator+ ( const Datetime datetime,
double  offset 
)
inline

Definition at line 138 of file Datetime.h.

◆ operator+() [3/8]

Datetime Rcpp::operator+ ( const Datetime datetime,
int  offset 
)
inline

Definition at line 148 of file Datetime.h.

◆ operator+() [4/8]

template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if<traits::is_convertible<typename traits::remove_const_and_reference<U>::type, typename traits::storage_type<RTYPE>::type>::value, sugar::Plus_Vector_Primitive_nona< RTYPE , NA , T> >::type Rcpp::operator+ ( const typename sugar::NonaPrimitive< U > &  rhs,
const VectorBase< RTYPE, NA, T > &  lhs 
)
inline

Definition at line 478 of file plus.h.

◆ operator+() [5/8]

template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if<traits::is_convertible<typename traits::remove_const_and_reference<U>::type, typename traits::storage_type<RTYPE>::type>::value, typename sugar::Plus_Vector_Primitive< RTYPE , NA , T> >::type Rcpp::operator+ ( const U &  rhs,
const VectorBase< RTYPE, NA, T > &  lhs 
)
inline

Definition at line 458 of file plus.h.

◆ operator+() [6/8]

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::Plus_Vector_Vector< RTYPE , LHS_NA, LHS_T, RHS_NA, RHS_T > Rcpp::operator+ ( const VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 492 of file plus.h.

◆ operator+() [7/8]

template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if<traits::is_convertible<typename traits::remove_const_and_reference<U>::type, typename traits::storage_type<RTYPE>::type>::value, sugar::Plus_Vector_Primitive_nona<RTYPE,NA,T> >::type Rcpp::operator+ ( const VectorBase< RTYPE, NA, T > &  lhs,
const typename sugar::NonaPrimitive< U > &  rhs 
)
inline

Definition at line 469 of file plus.h.

◆ operator+() [8/8]

template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if<traits::is_convertible<typename traits::remove_const_and_reference<U>::type, typename traits::storage_type<RTYPE>::type>::value, typename sugar::Plus_Vector_Primitive<RTYPE,NA,T> >::type Rcpp::operator+ ( const VectorBase< RTYPE, NA, T > &  lhs,
const U &  rhs 
)
inline

Definition at line 448 of file plus.h.

◆ operator-() [1/5]

double Rcpp::operator- ( const Date d1,
const Date d2 
)
inline

Definition at line 164 of file Date.h.

◆ operator-() [2/5]

double Rcpp::operator- ( const Datetime d1,
const Datetime d2 
)
inline

Definition at line 158 of file Datetime.h.

◆ operator-() [3/5]

template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if<traits::is_convertible<typename traits::remove_const_and_reference<U>::type, typename traits::storage_type<RTYPE>::type>::value, sugar::Minus_Primitive_Vector< RTYPE , NA,T> >::type Rcpp::operator- ( const U &  lhs,
const VectorBase< RTYPE, NA, T > &  rhs 
)
inline

Definition at line 427 of file minus.h.

◆ operator-() [4/5]

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::Minus_Vector_Vector< RTYPE , LHS_NA, LHS_T, RHS_NA, RHS_T > Rcpp::operator- ( const VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 440 of file minus.h.

◆ operator-() [5/5]

template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if<traits::is_convertible<typename traits::remove_const_and_reference<U>::type, typename traits::storage_type<RTYPE>::type>::value, sugar::Minus_Vector_Primitive< RTYPE , NA, T > >::type Rcpp::operator- ( const VectorBase< RTYPE, NA, T > &  lhs,
const U &  rhs 
)
inline

Definition at line 417 of file minus.h.

◆ operator/() [1/3]

template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if< traits::is_convertible< typename traits::remove_const_and_reference<U>::type, typename traits::storage_type<RTYPE>::type>::value, sugar::Divides_Primitive_Vector< RTYPE , NA,T> >::type Rcpp::operator/ ( const U &  lhs,
const VectorBase< RTYPE, NA, T > &  rhs 
)
inline

Definition at line 423 of file divides.h.

◆ operator/() [2/3]

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::Divides_Vector_Vector< RTYPE , LHS_NA, LHS_T, RHS_NA, RHS_T > Rcpp::operator/ ( const VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 436 of file divides.h.

◆ operator/() [3/3]

template<int RTYPE, bool NA, typename T , typename U >
traits::enable_if<traits::is_convertible<typename traits::remove_const_and_reference<U>::type, typename traits::storage_type<RTYPE>::type>::value, sugar::Divides_Vector_Primitive< RTYPE , NA, T > >::type Rcpp::operator/ ( const VectorBase< RTYPE, NA, T > &  lhs,
const U &  rhs 
)
inline

Definition at line 413 of file divides.h.

◆ operator<() [1/2]

bool Rcpp::operator< ( const Date d1,
const Date d2 
)
inline

Definition at line 165 of file Date.h.

◆ operator<() [2/2]

bool Rcpp::operator< ( const Datetime d1,
const Datetime d2 
)
inline

Definition at line 159 of file Datetime.h.

◆ operator<<() [1/10]

std::ostream& Rcpp::operator<< ( std::ostream &  os,
const Date  d 
)
inline

Definition at line 172 of file Date.h.

◆ operator<<() [2/10]

std::ostream& Rcpp::operator<< ( std::ostream &  os,
const Datetime  d 
)
inline

Definition at line 166 of file Datetime.h.

◆ operator<<() [3/10]

std::ostream& Rcpp::operator<< ( std::ostream &  os,
const newDatetimeVector  d 
)
inline

Definition at line 81 of file newDatetimeVector.h.

◆ operator<<() [4/10]

std::ostream& Rcpp::operator<< ( std::ostream &  os,
const newDateVector  d 
)
inline

Definition at line 65 of file newDateVector.h.

◆ operator<<() [5/10]

template<template< class > class StoragePolicy>
std::ostream& Rcpp::operator<< ( std::ostream &  s,
const Matrix< INTSXP, StoragePolicy > &  rhs 
)
inline

Definition at line 286 of file Matrix.h.

References max(), Rcpp::algorithm::max(), min(), Rcpp::algorithm::min(), row(), and Rcpp::Matrix< RTYPE, StoragePolicy >::rows().

Here is the call graph for this function:

◆ operator<<() [6/10]

template<template< class > class StoragePolicy>
std::ostream& Rcpp::operator<< ( std::ostream &  s,
const Matrix< REALSXP, StoragePolicy > &  rhs 
)
inline

Definition at line 218 of file Matrix.h.

References row(), and Rcpp::Matrix< RTYPE, StoragePolicy >::rows().

Here is the call graph for this function:

◆ operator<<() [7/10]

template<int RTYPE, template< class > class StoragePolicy>
std::ostream& Rcpp::operator<< ( std::ostream &  s,
const Matrix< RTYPE, StoragePolicy > &  rhs 
)
inline

Definition at line 379 of file Matrix.h.

References row(), and Rcpp::Matrix< RTYPE, StoragePolicy >::rows().

Here is the call graph for this function:

◆ operator<<() [8/10]

template<template< class > class StoragePolicy>
std::ostream& Rcpp::operator<< ( std::ostream &  s,
const Matrix< STRSXP, StoragePolicy > &  rhs 
)
inline

Definition at line 352 of file Matrix.h.

References row(), and Rcpp::Matrix< RTYPE, StoragePolicy >::rows().

Here is the call graph for this function:

◆ operator<<() [9/10]

template<int RTYPE, template< class > class StoragePolicy>
std::ostream& Rcpp::operator<< ( std::ostream &  s,
const Vector< RTYPE, StoragePolicy > &  rhs 
)
inline

Definition at line 1142 of file Vector.h.

◆ operator<<() [10/10]

template<template< class > class StoragePolicy>
std::ostream& Rcpp::operator<< ( std::ostream &  s,
const Vector< STRSXP, StoragePolicy > &  rhs 
)
inline

Definition at line 1161 of file Vector.h.

◆ operator<=() [1/2]

bool Rcpp::operator<= ( const Date d1,
const Date d2 
)
inline

Definition at line 169 of file Date.h.

◆ operator<=() [2/2]

bool Rcpp::operator<= ( const Datetime d1,
const Datetime d2 
)
inline

Definition at line 163 of file Datetime.h.

◆ operator==() [1/4]

bool Rcpp::operator== ( const Date d1,
const Date d2 
)
inline

Definition at line 167 of file Date.h.

Referenced by RCPP_API_CLASS().

◆ operator==() [2/4]

bool Rcpp::operator== ( const Datetime d1,
const Datetime d2 
)
inline

Definition at line 161 of file Datetime.h.

◆ operator==() [3/4]

bool Rcpp::operator== ( const String::const_StringProxy lhs,
const String rhs 
)
inline

Definition at line 727 of file String.h.

◆ operator==() [4/4]

bool Rcpp::operator== ( const String::StringProxy lhs,
const String rhs 
)
inline

Definition at line 719 of file String.h.

◆ operator>() [1/2]

bool Rcpp::operator> ( const Date d1,
const Date d2 
)
inline

Definition at line 166 of file Date.h.

◆ operator>() [2/2]

bool Rcpp::operator> ( const Datetime d1,
const Datetime d2 
)
inline

Definition at line 160 of file Datetime.h.

◆ operator>=() [1/2]

bool Rcpp::operator>= ( const Date d1,
const Date d2 
)
inline

Definition at line 168 of file Date.h.

◆ operator>=() [2/2]

bool Rcpp::operator>= ( const Datetime d1,
const Datetime d2 
)
inline

Definition at line 162 of file Datetime.h.

◆ outer()

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T , typename Function >
sugar::Outer<RTYPE,LHS_NA,LHS_T,RHS_NA,RHS_T,Function> Rcpp::outer ( const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs,
Function  fun 
)
inline

Definition at line 80 of file outer.h.

◆ pairlist()

SEXP Rcpp::pairlist ( )
inline

Definition at line 30 of file grow.h.

Referenced by Rcpp::DottedPairImpl< CLASS >::replace().

◆ Pairlist_Impl() [1/2]

Rcpp::Pairlist_Impl ( )

Definition at line 41 of file Pairlist.h.

◆ Pairlist_Impl() [2/2]

Rcpp::Pairlist_Impl ( SEXP  x)

Definition at line 42 of file Pairlist.h.

◆ parent()

Environment_Impl Rcpp::parent ( ) const

The parent environment of this environment

Definition at line 387 of file Environment.h.

References Environment_Impl().

Referenced by Rcpp::ConstMatrixColumn< RTYPE >::ConstMatrixColumn(), class_< Class >::derives(), Rcpp::MatrixColumn< RTYPE >::MatrixColumn(), and new_env().

Here is the call graph for this function:

◆ pexp()

template<bool NA, typename T >
stats::P1<REALSXP,NA,T> Rcpp::pexp ( const Rcpp::VectorBase< REALSXP, NA, T > &  x,
double  shape,
bool  lower = true,
bool  log = false 
)
inline

Definition at line 86 of file exp.h.

References Rcpp::algorithm::log().

Here is the call graph for this function:

◆ pmax() [1/3]

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::Pmax_Vector_Vector<RTYPE,LHS_NA,LHS_T,RHS_NA,RHS_T> Rcpp::pmax ( const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 158 of file pmax.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ pmax() [2/3]

template<int RTYPE, bool LHS_NA, typename LHS_T >
sugar::Pmax_Vector_Primitive<RTYPE,LHS_NA,LHS_T> Rcpp::pmax ( const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
typename Rcpp::traits::storage_type< RTYPE >::type  rhs 
)
inline

Definition at line 170 of file pmax.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ pmax() [3/3]

template<int RTYPE, bool RHS_NA, typename RHS_T >
sugar::Pmax_Vector_Primitive<RTYPE,RHS_NA,RHS_T> Rcpp::pmax ( typename Rcpp::traits::storage_type< RTYPE >::type  lhs,
const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 183 of file pmax.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ pmin() [1/3]

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
sugar::Pmin_Vector_Vector<RTYPE,LHS_NA,LHS_T,RHS_NA,RHS_T> Rcpp::pmin ( const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 156 of file pmin.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ pmin() [2/3]

template<int RTYPE, bool LHS_NA, typename LHS_T >
sugar::Pmin_Vector_Primitive<RTYPE,LHS_NA,LHS_T> Rcpp::pmin ( const Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
typename Rcpp::traits::storage_type< RTYPE >::type  rhs 
)
inline

Definition at line 168 of file pmin.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ pmin() [3/3]

template<int RTYPE, bool RHS_NA, typename RHS_T >
sugar::Pmin_Vector_Primitive<RTYPE,RHS_NA,RHS_T> Rcpp::pmin ( typename Rcpp::traits::storage_type< RTYPE >::type  lhs,
const Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 181 of file pmin.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ pow()

template<int RTYPE, bool NA, typename T , typename EXPONENT_TYPE >
sugar::Pow<RTYPE,NA,T,EXPONENT_TYPE> Rcpp::pow ( const VectorBase< RTYPE, NA, T > &  t,
EXPONENT_TYPE  exponent 
)
inline

◆ print()

void Rcpp::print ( SEXP  s)
inline

Definition at line 25 of file print.h.

◆ push_back()

template<typename T >
StretchyList_Impl& Rcpp::push_back ( const T &  obj)
inline

Definition at line 58 of file StretchyList.h.

References push_back__impl().

Referenced by class_< Class >::AddMethod().

Here is the call graph for this function:

◆ push_back__impl() [1/2]

template<typename T >
StretchyList_Impl& Rcpp::push_back__impl ( const T &  obj,
traits::false_type   
)
private

◆ push_back__impl() [2/2]

template<typename T >
StretchyList_Impl& Rcpp::push_back__impl ( const T &  obj,
traits::true_type   
)
private

Referenced by push_back().

◆ push_front()

template<typename T >
StretchyList_Impl& Rcpp::push_front ( const T &  obj)
inline

Definition at line 63 of file StretchyList.h.

References push_front__impl().

Referenced by Rcpp::DottedPairImpl< CLASS >::insert().

Here is the call graph for this function:

◆ push_front__impl() [1/2]

template<typename T >
StretchyList_Impl& Rcpp::push_front__impl ( const T &  obj,
traits::false_type   
)
private

◆ push_front__impl() [2/2]

template<typename T >
StretchyList_Impl& Rcpp::push_front__impl ( const T &  obj,
traits::true_type   
)
private

Referenced by push_front().

◆ qexp()

template<bool NA, typename T >
stats::Q1<REALSXP,NA,T> Rcpp::qexp ( const Rcpp::VectorBase< REALSXP, NA, T > &  x,
double  shape,
bool  lower = true,
bool  log = false 
)
inline

Definition at line 91 of file exp.h.

References Rcpp::algorithm::log().

Here is the call graph for this function:

◆ r_cast()

template<int TARGET>
SEXP Rcpp::r_cast ( SEXP  x)

Definition at line 164 of file r_cast.h.

References warning().

Here is the call graph for this function:

◆ range()

template<int RTYPE, bool NA, typename T >
sugar::Range<RTYPE,NA,T> Rcpp::range ( const VectorBase< RTYPE, NA, T > &  x)

Definition at line 86 of file range.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Referenced by Rcpp::Vector< RTYPE, StoragePolicy >::operator[]().

Here is the call graph for this function:

◆ rbeta()

NumericVector Rcpp::rbeta ( int  n,
double  a,
double  b 
)
inline

Definition at line 100 of file random.h.

◆ rbinom()

NumericVector Rcpp::rbinom ( int  n,
double  nin,
double  pp 
)
inline

Definition at line 104 of file random.h.

◆ rcauchy() [1/3]

NumericVector Rcpp::rcauchy ( int  n)
inline

Definition at line 128 of file random.h.

◆ rcauchy() [2/3]

NumericVector Rcpp::rcauchy ( int  n,
double  location 
)
inline

Definition at line 118 of file random.h.

◆ rcauchy() [3/3]

NumericVector Rcpp::rcauchy ( int  n,
double  location,
double  scale 
)
inline

Definition at line 108 of file random.h.

◆ rchisq()

NumericVector Rcpp::rchisq ( int  n,
double  df 
)
inline

Definition at line 132 of file random.h.

References R::df().

Here is the call graph for this function:

◆ RCPP_API_CLASS() [1/14]

Rcpp::RCPP_API_CLASS ( DottedPair_Impl  )

◆ RCPP_API_CLASS() [2/14]

Rcpp::RCPP_API_CLASS ( Environment_Impl  )

◆ RCPP_API_CLASS() [3/14]

Rcpp::RCPP_API_CLASS ( Formula_Impl  )

◆ RCPP_API_CLASS() [4/14]

Rcpp::RCPP_API_CLASS ( Function_Impl  )

functions

Finds a function. By default, searches from the global environment

Parameters
namename of the function
envan environment where to search the function
nsname of the namespace in which to search the function

Returns the environment of this function

Returns the body of the function

Definition at line 34 of file Function.h.

References Rcpp_fast_eval(), RCPP_GENERATE_CTOR_ASSIGN, Rcpp_lcons, stop(), and update().

Here is the call graph for this function:

◆ RCPP_API_CLASS() [5/14]

Rcpp::RCPP_API_CLASS ( InternalFunction_Impl  )

Definition at line 35 of file InternalFunction.h.

References RCPP_GENERATE_CTOR_ASSIGN, Rcpp_namespace(), and update().

Here is the call graph for this function:

◆ RCPP_API_CLASS() [6/14]

Rcpp::RCPP_API_CLASS ( Language_Impl  )

C++ wrapper around calls (LANGSXP SEXP)

This represents calls that can be evaluated

◆ RCPP_API_CLASS() [7/14]

Rcpp::RCPP_API_CLASS ( Pairlist_Impl  )

◆ RCPP_API_CLASS() [8/14]

Rcpp::RCPP_API_CLASS ( Promise_Impl  )

Return the result of the PRSEEN macro

Return the result of the PRVALUE macro on the promise

The promise expression: PRCODE

The promise environment : PRENV

Definition at line 27 of file Promise.h.

References RCPP_GENERATE_CTOR_ASSIGN, and update().

Here is the call graph for this function:

◆ RCPP_API_CLASS() [9/14]

Rcpp::RCPP_API_CLASS ( Reference_Impl  )

S4 object (of a reference class)

◆ RCPP_API_CLASS() [10/14]

Rcpp::RCPP_API_CLASS ( RObject_Impl  )

default constructor. uses R_NilValue

wraps a SEXP. The SEXP is automatically protected from garbage collection by this object and the protection vanishes when this object is destroyed

Assignement operator. Set this SEXP to the given SEXP

Definition at line 27 of file RObject.h.

References RCPP_GENERATE_CTOR_ASSIGN, update(), and wrap().

Here is the call graph for this function:

◆ RCPP_API_CLASS() [11/14]

Rcpp::RCPP_API_CLASS ( S4_Impl  )

S4 object

checks that x is an S4 object and wrap it.

Parameters
xmust be an S4 object

Creates an S4 object of the requested class.

Parameters
klassname of the target S4 class
Exceptions
S4_creation_errorif klass does not map to a known S4 class

Indicates if this object is an instance of the given S4 class

Exceptions
not_s4if x is not an S4 class

Definition at line 30 of file S4.h.

References is(), RCPP_GENERATE_CTOR_ASSIGN, and update().

Here is the call graph for this function:

◆ RCPP_API_CLASS() [12/14]

Rcpp::RCPP_API_CLASS ( StretchyList_Impl  )

StretchyList uses a special pairlist to provide efficient insertion at the front and the end of a pairlist.

This is a C++ abstraction of the functions NewList, GrowList and Insert that are found in places where a pair list has to grow efficiently, e.g. in the R parser (gram.y)

◆ RCPP_API_CLASS() [13/14]

Rcpp::RCPP_API_CLASS ( Symbol_Impl  )

wraps the SEXP into a Symbol object.

Parameters
xAccepted SEXP types are SYMSXP, CHARSXP and STRSXP in the last case, the first element of the character vector is silently used

Definition at line 27 of file Symbol.h.

References operator==(), RCPP_GENERATE_CTOR_ASSIGN, and update().

Here is the call graph for this function:

◆ RCPP_API_CLASS() [14/14]

Rcpp::RCPP_API_CLASS ( WeakReference_Impl  )

wraps a weak reference

Parameters
xpresumably a SEXP of SEXTYPE WEAKREFSXP
Exceptions
not_compatibleif x is not a weak reference

Retrieve the key

Retrieve the value

Definition at line 27 of file WeakReference.h.

References RCPP_GENERATE_CTOR_ASSIGN, and update().

Here is the call graph for this function:

◆ Rcpp_cerr_get()

Rostream< false > & Rcpp::Rcpp_cerr_get ( )
inline

Definition at line 168 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

◆ Rcpp_cout_get()

Rostream< true > & Rcpp::Rcpp_cout_get ( )
inline

Definition at line 163 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

◆ Rcpp_eval()

SEXP Rcpp::Rcpp_eval ( SEXP  expr,
SEXP  env 
)
inline

Definition at line 75 of file Rcpp_eval.h.

References Rcpp::internal::Rcpp_eval_impl(), and stop().

Referenced by Rcpp_fast_eval().

Here is the call graph for this function:

◆ RCPP_EXCEPTION_CLASS()

No such field Rcpp::RCPP_EXCEPTION_CLASS ( reference_creation_error  ,
"Error creating object of reference class"   
)

◆ Rcpp_fast_eval()

◆ Rcpp_lang10()

SEXP Rcpp::Rcpp_lang10 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9 
)
inline

Definition at line 127 of file lang.h.

References Rcpp_list9().

Here is the call graph for this function:

◆ Rcpp_lang11()

SEXP Rcpp::Rcpp_lang11 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10 
)
inline

Definition at line 143 of file lang.h.

References Rcpp_list10().

Here is the call graph for this function:

◆ Rcpp_lang12()

SEXP Rcpp::Rcpp_lang12 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11 
)
inline

Definition at line 159 of file lang.h.

References Rcpp_list11().

Here is the call graph for this function:

◆ Rcpp_lang13()

SEXP Rcpp::Rcpp_lang13 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12 
)
inline

Definition at line 175 of file lang.h.

References Rcpp_list12().

Here is the call graph for this function:

◆ Rcpp_lang14()

SEXP Rcpp::Rcpp_lang14 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13 
)
inline

Definition at line 191 of file lang.h.

References Rcpp_list13().

Here is the call graph for this function:

◆ Rcpp_lang15()

SEXP Rcpp::Rcpp_lang15 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13,
SEXP  x14 
)
inline

Definition at line 207 of file lang.h.

References Rcpp_list14().

Here is the call graph for this function:

◆ Rcpp_lang16()

SEXP Rcpp::Rcpp_lang16 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13,
SEXP  x14,
SEXP  x15 
)
inline

Definition at line 223 of file lang.h.

References Rcpp_list15().

Here is the call graph for this function:

◆ Rcpp_lang17()

SEXP Rcpp::Rcpp_lang17 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13,
SEXP  x14,
SEXP  x15,
SEXP  x16 
)
inline

Definition at line 239 of file lang.h.

References Rcpp_list16().

Here is the call graph for this function:

◆ Rcpp_lang18()

SEXP Rcpp::Rcpp_lang18 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13,
SEXP  x14,
SEXP  x15,
SEXP  x16,
SEXP  x17 
)
inline

Definition at line 255 of file lang.h.

References Rcpp_list17().

Here is the call graph for this function:

◆ Rcpp_lang19()

SEXP Rcpp::Rcpp_lang19 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13,
SEXP  x14,
SEXP  x15,
SEXP  x16,
SEXP  x17,
SEXP  x18 
)
inline

Definition at line 271 of file lang.h.

References Rcpp_list18().

Here is the call graph for this function:

◆ Rcpp_lang20()

SEXP Rcpp::Rcpp_lang20 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13,
SEXP  x14,
SEXP  x15,
SEXP  x16,
SEXP  x17,
SEXP  x18,
SEXP  x19 
)
inline

Definition at line 287 of file lang.h.

References Rcpp_list19().

Here is the call graph for this function:

◆ Rcpp_lang7()

SEXP Rcpp::Rcpp_lang7 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6 
)
inline

Definition at line 79 of file lang.h.

References Rcpp_list6().

Here is the call graph for this function:

◆ Rcpp_lang8()

SEXP Rcpp::Rcpp_lang8 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7 
)
inline

Definition at line 95 of file lang.h.

References Rcpp_list7().

Here is the call graph for this function:

◆ Rcpp_lang9()

SEXP Rcpp::Rcpp_lang9 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8 
)
inline

Definition at line 111 of file lang.h.

References Rcpp_list8().

Here is the call graph for this function:

◆ Rcpp_list10()

SEXP Rcpp::Rcpp_list10 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9 
)
inline

Definition at line 119 of file lang.h.

References Rcpp_list9().

Referenced by Rcpp_lang11(), and Rcpp_list11().

Here is the call graph for this function:

◆ Rcpp_list11()

SEXP Rcpp::Rcpp_list11 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10 
)
inline

Definition at line 135 of file lang.h.

References Rcpp_list10().

Referenced by Rcpp_lang12(), and Rcpp_list12().

Here is the call graph for this function:

◆ Rcpp_list12()

SEXP Rcpp::Rcpp_list12 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11 
)
inline

Definition at line 151 of file lang.h.

References Rcpp_list11().

Referenced by Rcpp_lang13(), and Rcpp_list13().

Here is the call graph for this function:

◆ Rcpp_list13()

SEXP Rcpp::Rcpp_list13 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12 
)
inline

Definition at line 167 of file lang.h.

References Rcpp_list12().

Referenced by Rcpp_lang14(), and Rcpp_list14().

Here is the call graph for this function:

◆ Rcpp_list14()

SEXP Rcpp::Rcpp_list14 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13 
)
inline

Definition at line 183 of file lang.h.

References Rcpp_list13().

Referenced by Rcpp_lang15(), and Rcpp_list15().

Here is the call graph for this function:

◆ Rcpp_list15()

SEXP Rcpp::Rcpp_list15 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13,
SEXP  x14 
)
inline

Definition at line 199 of file lang.h.

References Rcpp_list14().

Referenced by Rcpp_lang16(), and Rcpp_list16().

Here is the call graph for this function:

◆ Rcpp_list16()

SEXP Rcpp::Rcpp_list16 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13,
SEXP  x14,
SEXP  x15 
)
inline

Definition at line 215 of file lang.h.

References Rcpp_list15().

Referenced by Rcpp_lang17(), and Rcpp_list17().

Here is the call graph for this function:

◆ Rcpp_list17()

SEXP Rcpp::Rcpp_list17 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13,
SEXP  x14,
SEXP  x15,
SEXP  x16 
)
inline

Definition at line 231 of file lang.h.

References Rcpp_list16().

Referenced by Rcpp_lang18(), and Rcpp_list18().

Here is the call graph for this function:

◆ Rcpp_list18()

SEXP Rcpp::Rcpp_list18 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13,
SEXP  x14,
SEXP  x15,
SEXP  x16,
SEXP  x17 
)
inline

Definition at line 247 of file lang.h.

References Rcpp_list17().

Referenced by Rcpp_lang19(), and Rcpp_list19().

Here is the call graph for this function:

◆ Rcpp_list19()

SEXP Rcpp::Rcpp_list19 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13,
SEXP  x14,
SEXP  x15,
SEXP  x16,
SEXP  x17,
SEXP  x18 
)
inline

Definition at line 263 of file lang.h.

References Rcpp_list18().

Referenced by Rcpp_lang20(), and Rcpp_list20().

Here is the call graph for this function:

◆ Rcpp_list2()

SEXP Rcpp::Rcpp_list2 ( SEXP  x0,
SEXP  x1 
)
inline

Definition at line 36 of file lang.h.

References Rcpp_list1.

Referenced by Rcpp_list3().

◆ Rcpp_list20()

SEXP Rcpp::Rcpp_list20 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8,
SEXP  x9,
SEXP  x10,
SEXP  x11,
SEXP  x12,
SEXP  x13,
SEXP  x14,
SEXP  x15,
SEXP  x16,
SEXP  x17,
SEXP  x18,
SEXP  x19 
)
inline

Definition at line 279 of file lang.h.

References Rcpp_list19().

Here is the call graph for this function:

◆ Rcpp_list3()

SEXP Rcpp::Rcpp_list3 ( SEXP  x0,
SEXP  x1,
SEXP  x2 
)
inline

Definition at line 43 of file lang.h.

References Rcpp_list2().

Referenced by Rcpp_list4().

Here is the call graph for this function:

◆ Rcpp_list4()

SEXP Rcpp::Rcpp_list4 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3 
)
inline

Definition at line 50 of file lang.h.

References Rcpp_list3().

Referenced by Rcpp_list5().

Here is the call graph for this function:

◆ Rcpp_list5()

SEXP Rcpp::Rcpp_list5 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4 
)
inline

Definition at line 57 of file lang.h.

References Rcpp_list4().

Referenced by Rcpp_list6().

Here is the call graph for this function:

◆ Rcpp_list6()

SEXP Rcpp::Rcpp_list6 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5 
)
inline

Definition at line 64 of file lang.h.

References Rcpp_list5().

Referenced by Rcpp_lang7(), and Rcpp_list7().

Here is the call graph for this function:

◆ Rcpp_list7()

SEXP Rcpp::Rcpp_list7 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6 
)
inline

Definition at line 71 of file lang.h.

References Rcpp_list6().

Referenced by Rcpp_lang8(), and Rcpp_list8().

Here is the call graph for this function:

◆ Rcpp_list8()

SEXP Rcpp::Rcpp_list8 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7 
)
inline

Definition at line 87 of file lang.h.

References Rcpp_list7().

Referenced by Rcpp_lang9(), and Rcpp_list9().

Here is the call graph for this function:

◆ Rcpp_list9()

SEXP Rcpp::Rcpp_list9 ( SEXP  x0,
SEXP  x1,
SEXP  x2,
SEXP  x3,
SEXP  x4,
SEXP  x5,
SEXP  x6,
SEXP  x7,
SEXP  x8 
)
inline

Definition at line 103 of file lang.h.

References Rcpp_list8().

Referenced by Rcpp_lang10(), and Rcpp_list10().

Here is the call graph for this function:

◆ Rcpp_namespace()

static Environment_Impl Rcpp::Rcpp_namespace ( )
static
Returns
the Rcpp namespace

Definition at line 360 of file Environment.h.

References Rcpp::internal::get_Rcpp_namespace().

Referenced by Rcpp::internal::make_new_object(), and RCPP_API_CLASS().

Here is the call graph for this function:

◆ Rcpp_precious_init()

void Rcpp::Rcpp_precious_init ( )
inline

Definition at line 142 of file routines.h.

References GET_CALLABLE.

Referenced by R_init_Rcpp(), and registerFunctions().

◆ Rcpp_precious_preserve()

SEXP Rcpp::Rcpp_precious_preserve ( SEXP  object)
inline

Definition at line 152 of file routines.h.

References GET_CALLABLE.

Referenced by Rcpp_PreciousPreserve(), and registerFunctions().

◆ Rcpp_precious_remove()

void Rcpp::Rcpp_precious_remove ( SEXP  token)
inline

Definition at line 157 of file routines.h.

References GET_CALLABLE.

Referenced by Rcpp_PreciousRelease(), and registerFunctions().

◆ Rcpp_precious_teardown()

void Rcpp::Rcpp_precious_teardown ( )
inline

Definition at line 147 of file routines.h.

References GET_CALLABLE.

Referenced by R_unload_Rcpp(), and registerFunctions().

◆ Rcpp_PreciousPreserve()

◆ Rcpp_PreciousRelease()

◆ Rcpp_PreserveObject()

SEXP Rcpp::Rcpp_PreserveObject ( SEXP  x)
inline

Definition at line 98 of file RcppCommon.h.

Referenced by Rcpp_ReplaceObject().

◆ Rcpp_protect()

SEXP Rcpp::Rcpp_protect ( SEXP  x)
inline

Definition at line 23 of file Shield.h.

Referenced by Rcpp::Shelter< T >::operator()().

◆ Rcpp_ReleaseObject()

void Rcpp::Rcpp_ReleaseObject ( SEXP  x)
inline

Definition at line 102 of file RcppCommon.h.

Referenced by Rcpp_ReplaceObject().

◆ Rcpp_ReplaceObject()

SEXP Rcpp::Rcpp_ReplaceObject ( SEXP  x,
SEXP  y 
)
inline

Definition at line 105 of file RcppCommon.h.

References Rcpp_PreserveObject(), and Rcpp_ReleaseObject().

Here is the call graph for this function:

◆ RCPP_SIMPLE_EXCEPTION_CLASS()

Rcpp::RCPP_SIMPLE_EXCEPTION_CLASS ( not_a_matrix  ,
"Not a matrix."   
)

◆ Rcpp_unprotect()

void Rcpp::Rcpp_unprotect ( int  i)
inline

Definition at line 28 of file Shield.h.

Referenced by Rcpp::Shelter< T >::~Shelter(), and Rcpp::Shield< T >::~Shield().

◆ remove()

bool Rcpp::remove ( const std::string &  name)

remove an object from this environment

Definition at line 240 of file Environment.h.

References bindingIsLocked(), exists(), and Rcpp_fast_eval().

Here is the call graph for this function:

◆ rep() [1/6]

sugar::Rep_Single<bool> Rcpp::rep ( const bool &  x,
R_xlen_t  n 
)
inline

Definition at line 85 of file rep.h.

◆ rep() [2/6]

sugar::Rep_Single<double> Rcpp::rep ( const double &  x,
R_xlen_t  n 
)
inline

Definition at line 73 of file rep.h.

◆ rep() [3/6]

sugar::Rep_Single<int> Rcpp::rep ( const int &  x,
R_xlen_t  n 
)
inline

Definition at line 76 of file rep.h.

◆ rep() [4/6]

sugar::Rep_Single<Rbyte> Rcpp::rep ( const Rbyte &  x,
R_xlen_t  n 
)
inline

Definition at line 79 of file rep.h.

◆ rep() [5/6]

sugar::Rep_Single<Rcomplex> Rcpp::rep ( const Rcomplex &  x,
R_xlen_t  n 
)
inline

Definition at line 82 of file rep.h.

◆ rep() [6/6]

template<int RTYPE, bool NA, typename T >
sugar::Rep<RTYPE,NA,T> Rcpp::rep ( const VectorBase< RTYPE, NA, T > &  t,
R_xlen_t  n 
)
inline

Definition at line 69 of file rep.h.

◆ rep_each()

template<int RTYPE, bool NA, typename T >
sugar::Rep_each<RTYPE,NA,T> Rcpp::rep_each ( const VectorBase< RTYPE, NA, T > &  t,
R_xlen_t  times 
)
inline

Definition at line 50 of file rep_each.h.

◆ rep_len()

template<int RTYPE, bool NA, typename T >
sugar::Rep_len<RTYPE,NA,T> Rcpp::rep_len ( const VectorBase< RTYPE, NA, T > &  t,
R_xlen_t  len 
)
inline

Definition at line 50 of file rep_len.h.

◆ rev()

template<int RTYPE, bool NA, typename T >
sugar::Rev<RTYPE,NA,T> Rcpp::rev ( const VectorBase< RTYPE, NA, T > &  t)
inline

Definition at line 50 of file rev.h.

◆ rexp() [1/2]

NumericVector Rcpp::rexp ( int  n)
inline

Definition at line 147 of file random.h.

◆ rexp() [2/2]

NumericVector Rcpp::rexp ( int  n,
double  rate 
)
inline

Definition at line 137 of file random.h.

◆ rf()

NumericVector Rcpp::rf ( int  n,
double  n1,
double  n2 
)
inline

Definition at line 151 of file random.h.

◆ rgamma() [1/2]

NumericVector Rcpp::rgamma ( int  n,
double  a 
)
inline

Definition at line 174 of file random.h.

◆ rgamma() [2/2]

NumericVector Rcpp::rgamma ( int  n,
double  a,
double  scale 
)
inline

Definition at line 165 of file random.h.

◆ rgeom()

NumericVector Rcpp::rgeom ( int  n,
double  p 
)
inline

Definition at line 183 of file random.h.

◆ rhyper()

NumericVector Rcpp::rhyper ( int  n,
double  nn1,
double  nn2,
double  kk 
)
inline

Definition at line 189 of file random.h.

◆ rlnorm() [1/3]

NumericVector Rcpp::rlnorm ( int  n)
inline

Definition at line 215 of file random.h.

◆ rlnorm() [2/3]

NumericVector Rcpp::rlnorm ( int  n,
double  meanlog 
)
inline

Definition at line 204 of file random.h.

References Rcpp::algorithm::exp().

Here is the call graph for this function:

◆ rlnorm() [3/3]

NumericVector Rcpp::rlnorm ( int  n,
double  meanlog,
double  sdlog 
)
inline

Definition at line 193 of file random.h.

References Rcpp::algorithm::exp().

Here is the call graph for this function:

◆ rlogis() [1/3]

NumericVector Rcpp::rlogis ( int  n)
inline

Definition at line 239 of file random.h.

◆ rlogis() [2/3]

NumericVector Rcpp::rlogis ( int  n,
double  location 
)
inline

Definition at line 229 of file random.h.

◆ rlogis() [3/3]

NumericVector Rcpp::rlogis ( int  n,
double  location,
double  scale 
)
inline

Definition at line 219 of file random.h.

◆ rnbinom()

NumericVector Rcpp::rnbinom ( int  n,
double  siz,
double  prob 
)
inline

Definition at line 243 of file random.h.

◆ rnbinom_mu()

NumericVector Rcpp::rnbinom_mu ( int  n,
double  siz,
double  mu 
)
inline

Definition at line 251 of file random.h.

◆ rnchisq() [1/2]

NumericVector Rcpp::rnchisq ( int  n,
double  df 
)
inline

Definition at line 268 of file random.h.

References R::df().

Here is the call graph for this function:

◆ rnchisq() [2/2]

NumericVector Rcpp::rnchisq ( int  n,
double  df,
double  lambda 
)
inline

Definition at line 258 of file random.h.

References R::df().

Here is the call graph for this function:

◆ rnorm() [1/3]

NumericVector Rcpp::rnorm ( int  n)
inline

Definition at line 96 of file random.h.

◆ rnorm() [2/3]

NumericVector Rcpp::rnorm ( int  n,
double  mean 
)
inline

Definition at line 80 of file random.h.

References mean().

Here is the call graph for this function:

◆ rnorm() [3/3]

NumericVector Rcpp::rnorm ( int  n,
double  mean,
double  sd 
)
inline

Definition at line 58 of file random.h.

References mean(), and sd().

Here is the call graph for this function:

◆ row()

template<int RTYPE, bool LHS_NA, typename LHS_T >
sugar::Row<RTYPE,LHS_NA,LHS_T> Rcpp::row ( const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > &  lhs)
inline

Definition at line 55 of file row.h.

Referenced by operator<<().

◆ rowMeans()

template<int RTYPE, bool NA, typename T >
sugar::detail::RowMeansReturn<RTYPE>::type Rcpp::rowMeans ( const MatrixBase< RTYPE, NA, T > &  x,
bool  na_rm = false 
)
inline

Definition at line 942 of file rowSums.h.

◆ rownames()

internal::DimNameProxy Rcpp::rownames ( SEXP  x)
inline

Definition at line 209 of file Matrix.h.

◆ rowSums()

template<int RTYPE, bool NA, typename T >
sugar::detail::RowSumsReturn<RTYPE>::type Rcpp::rowSums ( const MatrixBase< RTYPE, NA, T > &  x,
bool  na_rm = false 
)
inline

Definition at line 924 of file rowSums.h.

◆ rpois()

NumericVector Rcpp::rpois ( int  n,
double  mu 
)
inline

Definition at line 274 of file random.h.

◆ rsignrank()

NumericVector Rcpp::rsignrank ( int  n,
double  nn 
)
inline

Definition at line 278 of file random.h.

◆ rt()

NumericVector Rcpp::rt ( int  n,
double  df 
)
inline

Definition at line 282 of file random.h.

References R::df().

Here is the call graph for this function:

◆ runif() [1/3]

NumericVector Rcpp::runif ( int  n)
inline

Definition at line 307 of file random.h.

◆ runif() [2/3]

NumericVector Rcpp::runif ( int  n,
double  min 
)
inline

Definition at line 301 of file random.h.

References min().

Here is the call graph for this function:

◆ runif() [3/3]

NumericVector Rcpp::runif ( int  n,
double  min,
double  max 
)
inline

Definition at line 295 of file random.h.

References max(), and min().

Referenced by piSugar().

Here is the call graph for this function:

◆ rweibull() [1/2]

NumericVector Rcpp::rweibull ( int  n,
double  shape 
)
inline

Definition at line 320 of file random.h.

◆ rweibull() [2/2]

NumericVector Rcpp::rweibull ( int  n,
double  shape,
double  scale 
)
inline

Definition at line 311 of file random.h.

◆ rwilcox()

NumericVector Rcpp::rwilcox ( int  n,
double  mm,
double  nn 
)
inline

Definition at line 327 of file random.h.

◆ sample() [1/2]

template<int RTYPE>
Vector<RTYPE> Rcpp::sample ( const Vector< RTYPE > &  x,
int  size,
bool  replace = false,
sugar::probs_t  probs = R_NilValue 
)
inline

◆ sample() [2/2]

Vector<INTSXP> Rcpp::sample ( int  n,
int  size,
bool  replace = false,
sugar::probs_t  probs = R_NilValue,
bool  one_based = true 
)
inline

◆ sapply() [1/2]

template<typename T , typename Function >
T Rcpp::sapply ( const ListOf< T > &  t,
Function  fun 
)

Definition at line 134 of file ListOf.h.

References Rcpp::ListOf< T >::get(), and sapply().

Here is the call graph for this function:

◆ sapply() [2/2]

template<int RTYPE, bool NA, typename T , typename Function >
sugar::Sapply< RTYPE,NA,T,Function, traits::same_type< typename ::Rcpp::sugar::sapply_application_result_of<Function, T>::type , typename Rcpp::traits::storage_type< traits::r_sexptype_traits< typename ::Rcpp::sugar::sapply_application_result_of<Function, T>::type >::rtype >::type >::value> Rcpp::sapply ( const Rcpp::VectorBase< RTYPE, NA, T > &  t,
Function  fun 
)
inline

Definition at line 126 of file sapply.h.

References NA.

Referenced by sapply().

◆ sd()

template<bool NA, typename T >
sugar::Sd<REALSXP,NA,T> Rcpp::sd ( const VectorBase< REALSXP, NA, T > &  t)
inline

Definition at line 46 of file sd.h.

Referenced by rnorm().

◆ self_match()

template<int RTYPE, bool NA, typename T >
IntegerVector Rcpp::self_match ( const VectorBase< RTYPE, NA, T > &  x)
inline

Definition at line 69 of file self_match.h.

References Rcpp::sugar::SelfHash< RTYPE >::fill_and_self_match().

Here is the call graph for this function:

◆ seq()

Range Rcpp::seq ( R_xlen_t  start,
R_xlen_t  end 
)
inline

Definition at line 52 of file seq_along.h.

◆ seq_along()

template<int RTYPE, bool NA, typename T >
sugar::SeqLen Rcpp::seq_along ( const Rcpp::VectorBase< RTYPE, NA, T > &  t)
inline

Definition at line 44 of file seq_along.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

Here is the call graph for this function:

◆ seq_len()

sugar::SeqLen Rcpp::seq_len ( const size_t &  n)
inline

Definition at line 48 of file seq_along.h.

◆ setdiff()

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
Vector<RTYPE> Rcpp::setdiff ( const VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 161 of file setdiff.h.

References Rcpp::sugar::SetDiff< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get(), and Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ setequal()

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
bool Rcpp::setequal ( const VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 166 of file setdiff.h.

References Rcpp::sugar::SetEqual< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get(), and Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ setFunction()

void Rcpp::setFunction ( const Function function)

sets the function

Definition at line 126 of file Language.h.

◆ setSymbol() [1/2]

void Rcpp::setSymbol ( const std::string &  symbol)

Creates a call to the given symbol using variable number of arguments

Parameters
symbolsymbol
...Argsvariable length argument list. The type of each argument must be wrappable, meaning there need to be a wrap function that takes this type as its parameter

For example, Language( "rnorm", 10, 0.0 ) will create the same call as

call( "rnorm", 10L, 0.0 )

10 is wrapped as an integer vector using wrap( const& int ) 0.0 is wrapped as a numeric vector using wrap( const& double ) ... sets the symbol of the call

Definition at line 110 of file Language.h.

◆ setSymbol() [2/2]

void Rcpp::setSymbol ( const Symbol symbol)

sets the symbol of the call

Definition at line 117 of file Language.h.

◆ shush_about_NA()

LogicalVector Rcpp::shush_about_NA ( )
inline

Definition at line 54 of file Na_Proxy.h.

References _, Rcpp::Vector< RTYPE, StoragePolicy >::create(), and NA.

Here is the call graph for this function:

◆ sign() [1/2]

template<bool NA, typename T >
sugar::Sign<INTSXP,NA,T> Rcpp::sign ( const VectorBase< INTSXP, NA, T > &  t)
inline

Definition at line 70 of file sign.h.

Referenced by Rcpp::Module::get_function().

◆ sign() [2/2]

template<bool NA, typename T >
sugar::Sign<REALSXP,NA,T> Rcpp::sign ( const VectorBase< REALSXP, NA, T > &  t)
inline

Definition at line 75 of file sign.h.

◆ sort_unique()

template<int RTYPE, bool NA, typename T >
Vector<RTYPE> Rcpp::sort_unique ( const VectorBase< RTYPE, NA, T > &  t,
bool  decreasing = false 
)
inline

Definition at line 72 of file unique.h.

◆ sprintf()

template<int MAX_SIZE>
std::string Rcpp::sprintf ( const char *  format,
  ... 
)

Definition at line 28 of file sprintf.h.

References tinyformat::format().

Here is the call graph for this function:

◆ standard_delete_finalizer()

template<typename T >
void Rcpp::standard_delete_finalizer ( T *  obj)

Definition at line 30 of file XPtr.h.

◆ stop() [1/12]

◆ stop() [2/12]

template<typename T1 >
void NORET Rcpp::stop ( const char *  fmt,
const T1 &  arg1 
)
inline

Definition at line 126 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ stop() [3/12]

template<typename T1 , typename T2 >
void NORET Rcpp::stop ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2 
)
inline

Definition at line 131 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ stop() [4/12]

template<typename T1 , typename T2 , typename T3 >
void NORET Rcpp::stop ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3 
)
inline

Definition at line 136 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ stop() [5/12]

template<typename T1 , typename T2 , typename T3 , typename T4 >
void NORET Rcpp::stop ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4 
)
inline

Definition at line 141 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ stop() [6/12]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void NORET Rcpp::stop ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4,
const T5 &  arg5 
)
inline

Definition at line 146 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ stop() [7/12]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void NORET Rcpp::stop ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4,
const T5 &  arg5,
const T6 &  arg6 
)
inline

Definition at line 151 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ stop() [8/12]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void NORET Rcpp::stop ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4,
const T5 &  arg5,
const T6 &  arg6,
const T7 &  arg7 
)
inline

Definition at line 156 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ stop() [9/12]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void NORET Rcpp::stop ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4,
const T5 &  arg5,
const T6 &  arg6,
const T7 &  arg7,
const T8 &  arg8 
)
inline

Definition at line 161 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ stop() [10/12]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
void NORET Rcpp::stop ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4,
const T5 &  arg5,
const T6 &  arg6,
const T7 &  arg7,
const T8 &  arg8,
const T9 &  arg9 
)
inline

Definition at line 166 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ stop() [11/12]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 >
void NORET Rcpp::stop ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4,
const T5 &  arg5,
const T6 &  arg6,
const T7 &  arg7,
const T8 &  arg8,
const T9 &  arg9,
const T10 &  arg10 
)
inline

Definition at line 171 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ stop() [12/12]

void Rcpp::stop ( const std::string &  message)
inline

Definition at line 117 of file exceptions.h.

References message().

Here is the call graph for this function:

◆ StretchyList_Impl() [1/2]

Rcpp::StretchyList_Impl ( )

Definition at line 42 of file StretchyList.h.

◆ StretchyList_Impl() [2/2]

Rcpp::StretchyList_Impl ( SEXP  x)

Definition at line 47 of file StretchyList.h.

◆ sum() [1/3]

template<bool NA, typename T >
sugar::Sum<INTSXP,NA,T> Rcpp::sum ( const VectorBase< INTSXP, NA, T > &  t)
inline

Definition at line 98 of file sum.h.

Referenced by Rcpp::sugar::na_omit_impl(), Rcpp::sugar::Normalize(), and piSugar().

◆ sum() [2/3]

template<bool NA, typename T >
sugar::Sum<LGLSXP,NA,T> Rcpp::sum ( const VectorBase< LGLSXP, NA, T > &  t)
inline

Definition at line 108 of file sum.h.

◆ sum() [3/3]

template<bool NA, typename T >
sugar::Sum<REALSXP,NA,T> Rcpp::sum ( const VectorBase< REALSXP, NA, T > &  t)
inline

Definition at line 103 of file sum.h.

◆ table()

template<int RTYPE, bool NA, typename T >
IntegerVector Rcpp::table ( const VectorBase< RTYPE, NA, T > &  x)
inline

Definition at line 126 of file table.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Referenced by in(), match(), Rcpp::sugar::SelfMatch< RTYPE, TABLE_T >::SelfMatch(), and Rcpp::sugar::Table< RTYPE, TABLE_T >::Table().

Here is the call graph for this function:

◆ tail()

template<int RTYPE, bool NA, typename T >
sugar::Tail<RTYPE,NA,T> Rcpp::tail ( const VectorBase< RTYPE, NA, T > &  t,
R_xlen_t  n 
)
inline

◆ timesub()

static struct tm * Rcpp::timesub ( const time_t *  timep,
int_fast32_t  offset,
const struct state sp,
struct tm tmp 
)
static

◆ toString()

static std::string Rcpp::toString ( const int  i)
static

Definition at line 64 of file exceptions.h.

◆ tranpose_impl()

template<int RTYPE, template< class > class StoragePolicy>
Matrix<RTYPE, StoragePolicy> Rcpp::tranpose_impl ( const Matrix< RTYPE, StoragePolicy > &  x)

Definition at line 406 of file Matrix.h.

◆ transpose() [1/3]

template<template< class > class StoragePolicy>
Matrix<INTSXP, StoragePolicy> Rcpp::transpose ( const Matrix< INTSXP, StoragePolicy > &  x)

Definition at line 440 of file Matrix.h.

◆ transpose() [2/3]

template<template< class > class StoragePolicy>
Matrix<REALSXP, StoragePolicy> Rcpp::transpose ( const Matrix< REALSXP, StoragePolicy > &  x)

Definition at line 435 of file Matrix.h.

◆ transpose() [3/3]

template<template< class > class StoragePolicy>
Matrix<STRSXP, StoragePolicy> Rcpp::transpose ( const Matrix< STRSXP, StoragePolicy > &  x)

Definition at line 445 of file Matrix.h.

◆ transtime()

static int_fast32_t Rcpp::transtime ( int  year,
const struct rule rulep,
int_fast32_t  offset 
)
static

◆ trimws() [1/3]

◆ trimws() [2/3]

String Rcpp::trimws ( const String str,
const char *  which = "both" 
)
inline

◆ trimws() [3/3]

Vector<STRSXP> Rcpp::trimws ( const Vector< STRSXP > &  x,
const char *  which = "both" 
)
inline

◆ type2name()

const char * Rcpp::type2name ( SEXP  x)
inline

Definition at line 84 of file routines.h.

References GET_CALLABLE.

Referenced by registerFunctions().

◆ typesequiv()

static int Rcpp::typesequiv ( const struct state sp,
int  a,
int  b 
)
static

◆ tzload()

◆ tzparse()

◆ union_()

template<int RTYPE, bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
Vector<RTYPE> Rcpp::union_ ( const VectorBase< RTYPE, LHS_NA, LHS_T > &  lhs,
const VectorBase< RTYPE, RHS_NA, RHS_T > &  rhs 
)
inline

Definition at line 177 of file setdiff.h.

References Rcpp::sugar::Union< RTYPE, LHS_NA, LHS_T, RHS_NA, RHS_T >::get(), and Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref().

Here is the call graph for this function:

◆ unique()

template<int RTYPE, bool NA, typename T >
Vector<RTYPE> Rcpp::unique ( const VectorBase< RTYPE, NA, T > &  t)
inline

Definition at line 65 of file unique.h.

References Rcpp::sugar::IndexHash< RTYPE >::fill(), and Rcpp::sugar::IndexHash< RTYPE >::keys().

Here is the call graph for this function:

◆ unlockBinding()

void Rcpp::unlockBinding ( const std::string &  name)

unlocks the given binding see ?bindingIsLocked

Exceptions
no_such_bindingif there is no such binding in this environment

Definition at line 286 of file Environment.h.

References exists().

Here is the call graph for this function:

◆ unwindProtect()

SEXP Rcpp::unwindProtect ( SEXP(*)(void *data)  callback,
void *  data 
)
inline

Definition at line 60 of file unwindProtect.h.

References Rcpp::internal::UnwindData::jmpbuf, and Rcpp::internal::maybeJump().

Here is the call graph for this function:

◆ update()

void Rcpp::update ( SEXP  x)

Definition at line 400 of file Environment.h.

Referenced by RCPP_API_CLASS().

◆ upper_tri()

template<int RTYPE, bool NA, typename T >
sugar::UpperTri<RTYPE, NA, T> Rcpp::upper_tri ( const Rcpp::MatrixBase< RTYPE, NA, T > &  lhs,
bool  diag = false 
)
inline

Definition at line 63 of file upper_tri.h.

References diag().

Here is the call graph for this function:

◆ var() [1/4]

template<bool NA, typename T >
sugar::Var<CPLXSXP,NA,T> Rcpp::var ( const VectorBase< CPLXSXP, NA, T > &  t)
inline

Definition at line 89 of file var.h.

◆ var() [2/4]

template<bool NA, typename T >
sugar::Var<INTSXP,NA,T> Rcpp::var ( const VectorBase< INTSXP, NA, T > &  t)
inline

Definition at line 79 of file var.h.

◆ var() [3/4]

template<bool NA, typename T >
sugar::Var<LGLSXP,NA,T> Rcpp::var ( const VectorBase< LGLSXP, NA, T > &  t)
inline

Definition at line 84 of file var.h.

◆ var() [4/4]

template<bool NA, typename T >
sugar::Var<REALSXP,NA,T> Rcpp::var ( const VectorBase< REALSXP, NA, T > &  t)
inline

Definition at line 74 of file var.h.

Referenced by Rcpp::sugar::Sd< RTYPE, NA, T >::get().

◆ warning() [1/12]

template<typename... Args>
void Rcpp::warning ( const char *  fmt,
Args &&...  args 
)
inline

Definition at line 46 of file exceptions.h.

References tinyformat::format().

Referenced by r_cast(), Rcpp::DataFrame_Impl< StoragePolicy >::set_type_after_push(), and Rcpp::attributes::showWarning().

Here is the call graph for this function:

◆ warning() [2/12]

template<typename T1 >
void Rcpp::warning ( const char *  fmt,
const T1 &  arg1 
)
inline

Definition at line 72 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ warning() [3/12]

template<typename T1 , typename T2 >
void Rcpp::warning ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2 
)
inline

Definition at line 77 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ warning() [4/12]

template<typename T1 , typename T2 , typename T3 >
void Rcpp::warning ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3 
)
inline

Definition at line 82 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ warning() [5/12]

template<typename T1 , typename T2 , typename T3 , typename T4 >
void Rcpp::warning ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4 
)
inline

Definition at line 87 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ warning() [6/12]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void Rcpp::warning ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4,
const T5 &  arg5 
)
inline

Definition at line 92 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ warning() [7/12]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void Rcpp::warning ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4,
const T5 &  arg5,
const T6 &  arg6 
)
inline

Definition at line 97 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ warning() [8/12]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void Rcpp::warning ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4,
const T5 &  arg5,
const T6 &  arg6,
const T7 &  arg7 
)
inline

Definition at line 102 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ warning() [9/12]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void Rcpp::warning ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4,
const T5 &  arg5,
const T6 &  arg6,
const T7 &  arg7,
const T8 &  arg8 
)
inline

Definition at line 107 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ warning() [10/12]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
void Rcpp::warning ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4,
const T5 &  arg5,
const T6 &  arg6,
const T7 &  arg7,
const T8 &  arg8,
const T9 &  arg9 
)
inline

Definition at line 112 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ warning() [11/12]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 >
void Rcpp::warning ( const char *  fmt,
const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3,
const T4 &  arg4,
const T5 &  arg5,
const T6 &  arg6,
const T7 &  arg7,
const T8 &  arg8,
const T9 &  arg9,
const T10 &  arg10 
)
inline

Definition at line 117 of file exceptions.h.

References tinyformat::format().

Here is the call graph for this function:

◆ warning() [12/12]

void Rcpp::warning ( const std::string &  message)
inline

Definition at line 113 of file exceptions.h.

References message().

Here is the call graph for this function:

◆ warningcall()

void Rcpp::warningcall ( SEXP  call,
const std::string &  s 
)
inline

Definition at line 29 of file print.h.

◆ which_max()

template<int RTYPE, bool NA, typename T >
R_xlen_t Rcpp::which_max ( const VectorBase< RTYPE, NA, T > &  t)

Definition at line 90 of file which_max.h.

References Rcpp::sugar::WhichMax< RTYPE, NA, T >::get().

Here is the call graph for this function:

◆ which_min()

template<int RTYPE, bool NA, typename T >
R_xlen_t Rcpp::which_min ( const VectorBase< RTYPE, NA, T > &  t)

Definition at line 90 of file which_min.h.

References Rcpp::sugar::WhichMin< RTYPE, NA, T >::get().

Here is the call graph for this function:

◆ wrap()

template<>
SEXP Rcpp::wrap ( const Date date)
inline

Definition at line 38 of file Date.h.

References Rcpp::Date::getDate(), and Rcpp::internal::new_date_object().

Referenced by Rcpp::Armor< T >::Armor(), as_character_externalptr(), Rcpp::Vector< RTYPE, StoragePolicy >::assign(), Rcpp::Vector< RTYPE, StoragePolicy >::assign_object(), Rcpp::Vector< RTYPE, StoragePolicy >::assign_sugar_expression(), Rcpp::DataFrame_Impl< StoragePolicy >::DataFrame_Impl(), CppProperty_Getter_Setter< PROP >::get(), CppProperty_Getter< PROP >::get(), CppProperty_GetMethod< Class, PROP >::get(), CppProperty_GetConstMethod< Class, PROP >::get(), CppProperty_GetPointerMethod< Class, PROP >::get(), CppProperty_GetMethod_SetMethod< Class, PROP >::get(), CppProperty_GetConstMethod_SetMethod< Class, PROP >::get(), CppProperty_GetMethod_SetPointer< Class, PROP >::get(), CppProperty_GetConstMethod_SetPointer< Class, PROP >::get(), CppProperty_GetPointer_SetMethod< Class, PROP >::get(), CppProperty_GetPointer_SetPointer< Class, PROP >::get(), Rcpp::internal::generic_element_converter< RTYPE >::get(), Rcpp::sugar::IndexHash< RTYPE >::get_profile_data(), Rcpp::internal::grow__dispatch(), Rcpp::Dimension::operator SEXP(), Rcpp::sugar::Sign< RTYPE, NA, T >::operator SEXP(), Rcpp::ListOf< T >::operator SEXP(), Rcpp::internal::simple_name_proxy< RTYPE, StoragePolicy >::operator SEXP(), Rcpp::SubsetProxy< RTYPE, StoragePolicy, RHS_RTYPE, RHS_NA, RHS_T >::operator SEXP(), Rcpp::AttributeProxyPolicy< CLASS >::AttributeProxy::operator=(), Rcpp::NamesProxyPolicy< CLASS >::NamesProxy::operator=(), Rcpp::SlotProxyPolicy< CLASS >::SlotProxy::operator=(), Rcpp::TagProxyPolicy< XPtrClass >::TagProxy::operator=(), Rcpp::BindingPolicy< EnvironmentClass >::Binding::operator=(), Rcpp::DottedPairProxyPolicy< CLASS >::DottedPairProxy::operator=(), Rcpp::FieldProxyPolicy< CLASS >::FieldProxy::operator=(), Rcpp::internal::generic_proxy< RTYPE, StoragePolicy >::operator=(), Rcpp::internal::generic_name_proxy< RTYPE, StoragePolicy >::operator=(), Rcpp::ChildVector< T >::operator=(), Rcpp::ProtectedProxyPolicy< XPtrClass >::ProtectedProxy::operator=(), Rcpp::Armor< T >::operator=(), Rcpp::sugar::Lapply< RTYPE, NA, T, Function >::operator[](), PiLeibniz(), Rcpp::internal::range_wrap_dispatch___impl__pair(), and RCPP_API_CLASS().

Here is the call graph for this function:

◆ wrap< Datetime >()

template<>
SEXP Rcpp::wrap< Datetime > ( const Datetime date)
inline

Definition at line 44 of file Datetime.h.

References Rcpp::Datetime::getFractionalTimestamp(), and Rcpp::internal::new_posixt_object().

Here is the call graph for this function:

◆ wrap< Rcpp::Date >()

template<>
SEXP Rcpp::wrap< Rcpp::Date > ( const Rcpp::Date date)

◆ wrap< Rcpp::Datetime >()

template<>
SEXP Rcpp::wrap< Rcpp::Datetime > ( const Rcpp::Datetime dt)

◆ wrap< Rcpp::String >()

template<>
SEXP Rcpp::wrap< Rcpp::String > ( const Rcpp::String object)
inline

Definition at line 711 of file String.h.

References RCPP_STRING_DEBUG.

◆ wrap_extra_steps()

template<typename T >
SEXP Rcpp::wrap_extra_steps ( SEXP  x)

Definition at line 28 of file wrap_extra_steps.h.

◆ wrap_extra_steps< Rcpp::Date >()

template<>
SEXP Rcpp::wrap_extra_steps< Rcpp::Date > ( SEXP  x)
inline

Definition at line 151 of file Date.h.

◆ wrap_extra_steps< Rcpp::Datetime >()

template<>
SEXP Rcpp::wrap_extra_steps< Rcpp::Datetime > ( SEXP  )
inline

Definition at line 38 of file Datetime.h.

References Rcpp::internal::getPosixClasses().

Here is the call graph for this function:

Variable Documentation

◆ _

◆ BindingPolicy< Environment_Impl< StoragePolicy > >

public Rcpp::BindingPolicy< Environment_Impl< StoragePolicy > >
Initial value:
{
private:
inline SEXP as_environment(SEXP x){
if( Rf_isEnvironment(x) ) return x ;
SEXP asEnvironmentSym = Rf_install("as.environment");
try {
Shield<SEXP> call(Rf_lang2(asEnvironmentSym, x));
return Rcpp_fast_eval(call, R_GlobalEnv);
} catch( const eval_error& ex) {
const char* fmt = "Cannot convert object to an environment: "
"[type=%s; target=ENVSXP].";
throw not_compatible(fmt, Rf_type2char(TYPEOF(x)));
}
}
public:
Storage::set__(R_GlobalEnv) ;
}
Environment_Impl(int pos)
SEXP Rcpp_fast_eval(SEXP expr, SEXP env)
Definition: Rcpp_eval.h:68

Definition at line 29 of file Environment.h.

◆ current_scope

Module* Rcpp::current_scope
static

Definition at line 224 of file module.cpp.

Referenced by getCurrentScope(), and setCurrentScope().

◆ DottedPairImpl< DottedPair_Impl< StoragePolicy > >

public public Rcpp::DottedPairImpl< DottedPair_Impl< StoragePolicy > >
Initial value:
{
public:
DottedPair_Impl(){}
DottedPair_Impl(SEXP x) {
Storage::set__(x) ;
}
void update(SEXP){}
}
void update(SEXP)
Definition: Environment.h:400

Definition at line 29 of file DottedPair.h.

◆ DottedPairImpl< Formula_Impl< StoragePolicy > >

public public Rcpp::DottedPairImpl< Formula_Impl< StoragePolicy > >
Initial value:
{
public:
Formula_Impl(const std::string &code)
Definition: Formula.h:69

Definition at line 32 of file Formula.h.

◆ DottedPairImpl< Language_Impl< StoragePolicy > >

public public Rcpp::DottedPairImpl< Language_Impl< StoragePolicy > >
Initial value:
{
public:
typedef typename DottedPairProxyPolicy<Language_Impl>::DottedPairProxy Proxy

Definition at line 33 of file Language.h.

◆ DottedPairImpl< Pairlist_Impl< StoragePolicy > >

public public Rcpp::DottedPairImpl< Pairlist_Impl< StoragePolicy > >
Initial value:
{
public:
typedef typename DottedPairProxyPolicy<Pairlist_Impl>::DottedPairProxy Proxy

Definition at line 33 of file Pairlist.h.

◆ DottedPairProxyPolicy< DottedPair_Impl< StoragePolicy > >

public Rcpp::DottedPairProxyPolicy< DottedPair_Impl< StoragePolicy > >

Definition at line 28 of file DottedPair.h.

◆ DottedPairProxyPolicy< Formula_Impl< StoragePolicy > >

public Rcpp::DottedPairProxyPolicy< Formula_Impl< StoragePolicy > >

Definition at line 31 of file Formula.h.

◆ DottedPairProxyPolicy< Language_Impl< StoragePolicy > >

public Rcpp::DottedPairProxyPolicy< Language_Impl< StoragePolicy > >

Definition at line 32 of file Language.h.

◆ DottedPairProxyPolicy< Pairlist_Impl< StoragePolicy > >

public Rcpp::DottedPairProxyPolicy< Pairlist_Impl< StoragePolicy > >

Definition at line 32 of file Pairlist.h.

◆ DottedPairProxyPolicy< StretchyList_Impl< StoragePolicy > >

public Rcpp::DottedPairProxyPolicy< StretchyList_Impl< StoragePolicy > >
Initial value:
{
public:
typedef typename DottedPairProxyPolicy<StretchyList_Impl>::DottedPairProxy Proxy

Definition at line 34 of file StretchyList.h.

◆ FieldProxyPolicy< Reference_Impl< StoragePolicy > >

public Rcpp::FieldProxyPolicy< Reference_Impl< StoragePolicy > >
Initial value:
{
public:
Reference_Impl() {}
Reference_Impl(SEXP x) {
Storage::set__(x) ;
}
Reference_Impl& operator=( SEXP other ) {
Storage::set__(other) ;
return *this ;
}
Reference_Impl( const std::string& klass ) {
SEXP newSym = Rf_install("new");
Shield<SEXP> str(Rf_mkString(klass.c_str()));
Shield<SEXP> call(Rf_lang2(newSym, str));
Storage::set__( Rcpp_fast_eval( call , Rcpp::internal::get_Rcpp_namespace()) );
}
void update( SEXP x){
if( ! ::Rf_isS4(x) ) throw not_reference();
}
}
attribute_hidden SEXP get_Rcpp_namespace()
Definition: routines.h:121

Definition at line 31 of file Reference.h.

◆ gmt

const char Rcpp::gmt[] = "GMT"
static

Definition at line 358 of file date.cpp.

Referenced by gmtload().

◆ gmt_is_set

int Rcpp::gmt_is_set
static

Definition at line 429 of file date.cpp.

Referenced by gmtsub().

◆ gmtmem

struct state Rcpp::gmtmem
static

Definition at line 429 of file date.cpp.

◆ mon_lengths

const int Rcpp::mon_lengths[2][MONSPERYEAR]
static
Initial value:
= {
{ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 },
{ 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
}

Definition at line 420 of file date.cpp.

Referenced by timesub(), and transtime().

◆ NA

◆ Rcerr

Rostream< false > & Rcpp::Rcerr = Rcpp_cerr_get()
static

Definition at line 90 of file Rstreambuf.h.

◆ Rcout

Rostream< true > & Rcpp::Rcout = Rcpp_cout_get()
static

◆ Rcpp_precious

SEXP Rcpp::Rcpp_precious = R_NilValue
static

Definition at line 92 of file barrier.cpp.

◆ time_t_max

time_t const Rcpp::time_t_max = MAXVAL(time_t, TYPE_BIT(time_t))
static

Definition at line 162 of file date.cpp.

Referenced by increment_overflow_time().

◆ time_t_min

time_t const Rcpp::time_t_min = MINVAL(time_t, TYPE_BIT(time_t))
static

Definition at line 161 of file date.cpp.

Referenced by increment_overflow_time().

◆ tm

struct tm Rcpp::tm
static

Definition at line 429 of file date.cpp.

Referenced by Rcpp::Datetime::format(), Rcpp::Date::format(), gmtime_(), gmtsub(), and mktime00().

◆ year_lengths

const int Rcpp::year_lengths[2]
static
Initial value:
= {
}
#define DAYSPERNYEAR
Definition: date.cpp:295
#define DAYSPERLYEAR
Definition: date.cpp:296

Definition at line 425 of file date.cpp.

Referenced by timesub(), and tzparse().