Rcpp Version 0.10.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
Rcpp Namespace Reference

Rcpp API. More...

Namespaces

namespace  attributes
namespace  internal
 internal implementation details
namespace  stats
namespace  sugar
namespace  traits
 traits used to dispatch wrap

Classes

class  Timer
class  DataFrame
class  Date
class  Datetime
class  DatetimeVector
class  DateVector
class  Dimension
class  DottedPair
class  Environment
class  Evaluator
class  exception
class  no_such_env
class  file_io_error
class  file_not_found
class  file_exists
class  Fast
class  Formula
class  Function
class  InternalFunction
class  Rostream
class  Rstreambuf
class  Language
class  fixed_call
class  unary_call
class  binary_call
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  FunctionProxy
class  Argument
class  Pairlist
class  Promise
class  Reference
class  RObject
class  S4
class  RNGScope
class  Generator
class  String
class  StringTransformer
struct  can_have_na
class  Range
class  Symbol
class  MatrixBase
class  no_init
class  VectorBase
class  WeakReference
class  XPtr
struct  tzhead
struct  ttinfo
struct  lsinfo
struct  state
struct  rule

Typedefs

typedef uint64_t nanotime_t
typedef bool(* ValidConstructor )(SEXP *, int)
typedef bool(* ValidMethod )(SEXP *, int)

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<typename T >
as (SEXP m_sexp)
template<typename T >
traits::remove_const_and_reference
< T >::type 
bare_as (SEXP m_sexp)
template<>
SEXP as (SEXP m_sexp)
nanotime_t get_nanotime (void)
template<typename T >
clone (const T &object)
template<>
SEXP wrap< Rcpp::Date > (const Rcpp::Date &date)
template<>
SEXP wrap< Rcpp::Datetime > (const Rcpp::Datetime &dt)
static std::string toString (const int i)
void stop (const std::string &message)
SEXP pairlist ()
SEXP grow (SEXP head, SEXP tail)
template<typename T >
SEXP grow (const T &head, SEXP tail)
void Rcpp_Stack_Debug ()
template<typename FROM , typename TO >
void converter (const char *from, const char *to, TO(*fun)(FROM), const char *docstring=0)
FunctionProxy GetCppCallable (const std::string &pkg, const std::string &mod, const std::string &fun)
Argument Named (const std::string &name)
template<typename T >
traits::named_object< T > Named (const std::string &name, const T &o)
template<int TARGET>
SEXP r_cast (SEXP x)
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 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 rnorm (int n, double mean, double sd)
NumericVector rnorm (int n, double mean)
NumericVector rnorm (int n)
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)
template<>
SEXP wrap< Rcpp::String > (const Rcpp::String &object)
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::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, int 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::IsNa< RTYPE, NA, T > is_na (const Rcpp::VectorBase< RTYPE, NA, T > &t)
template<int RTYPE, bool NA, typename T , typename Function >
sugar::Lapply< RTYPE, NA, T,
Function
lapply (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, Function
mapply (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,
Function
mapply (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,
Function
mapply (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, Function
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)
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<bool NA, typename T >
sugar::Mean< REALSXP, NA, T > mean (const VectorBase< REALSXP, NA, T > &t)
template<int RTYPE, bool NA, typename T >
traits::storage_type< RTYPE >::type min (const VectorBase< RTYPE, NA, T > &x)
template<int RTYPE, bool NA, typename T >
traits::storage_type< RTYPE >::type max (const VectorBase< RTYPE, NA, T > &x)
template<int RTYPE, bool NA, typename T >
Vector< RTYPE > range (const VectorBase< RTYPE, NA, T > &x)
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::Rep< RTYPE, NA, T > rep (const VectorBase< RTYPE, NA, T > &t, int n)
sugar::Rep_Single< double > rep (const double &x, int n)
sugar::Rep_Single< int > rep (const int &x, int n)
sugar::Rep_Single< Rbyte > rep (const Rbyte &x, int n)
sugar::Rep_Single< Rcomplex > rep (const Rcomplex &x, int n)
sugar::Rep_Single< bool > rep (const bool &x, int n)
template<int RTYPE, bool NA, typename T >
sugar::Rep_each< RTYPE, NA, T > rep_each (const VectorBase< RTYPE, NA, T > &t, int times)
template<int RTYPE, bool NA, typename T >
sugar::Rep_len< RTYPE, NA, T > rep_len (const VectorBase< RTYPE, NA, T > &t, int 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 , typename Function >
sugar::Sapply< RTYPE, NA, T,
Function, traits::same_type
< typename::Rcpp::traits::result_of
< Function >::type, typename
Rcpp::traits::storage_type
< traits::r_sexptype_traits
< typename::Rcpp::traits::result_of
< Function >::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 (int start, int 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)
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, int 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)
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<int RTYPE, bool NA, typename T >
int which_max (const VectorBase< RTYPE, NA, T > &t)
template<int RTYPE, bool NA, typename T >
int 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 LHS_NA, typename LHS_T >
sugar::LowerTri< RTYPE, LHS_NA,
LHS_T > 
lower_tri (const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_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, Function
outer (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 LHS_NA, typename LHS_T >
sugar::UpperTri< RTYPE, LHS_NA,
LHS_T > 
upper_tri (const Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_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<typename T >
void standard_delete_finalizer (T *obj)
template<typename T , void Finalizer>
void finalizer_wrapper (SEXP p)
void init_ProtectionStack ()
SEXP Rcpp_PreserveObject (SEXP x)
void Rcpp_ReleaseObject (SEXP x)
SEXP Rcpp_ReplaceObject (SEXP x, SEXP y)
SEXP grow (const char *head, SEXP tail)
static struct tmgmtime_ (const time_t *const timep)
Date operator+ (const Date &date, int offset)
int 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)
template<>
SEXP wrap (const Date &date)
Datetime operator+ (const Datetime &datetime, double 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)
template<>
SEXP wrap (const Datetime &date)
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, long *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 time_t transtime (const time_t janfirst, const int year, const struct rule *const rulep, const long offset)
static struct tmtimesub (const time_t *const timep, const long offset, const struct state *const sp, struct tm *const tmp)
static int leaps_thru_end_of (const int y)
static int increment_overflow (int *number, int delta)
static long detzcode (const char *const codep)
static time_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, long *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 long offset, struct tm *const tmp)

Variables

Rostream< true > Rcout
Rostream< false > Rcerr
static internal::NamedPlaceHolder _
static SEXP RCPP_PROTECTION_STACK = R_NilValue
static SEXP * RCPP_PROTECTION_STACK_PTR = 0
static bool RCPP_PROTECTION_STACK_READY = false
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

typedef uint64_t Rcpp::nanotime_t

Definition at line 34 of file Timer.h.

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

Definition at line 140 of file Module.h.

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

Definition at line 141 of file Module.h.

Function Documentation

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().

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.

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().

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.

template<bool NA, typename T >
sugar::All<NA,T> Rcpp::all ( const Rcpp::VectorBase< LGLSXP, NA, T > &  t)
inline
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.

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

Examples:
SugarPerformance/sugarBenchmarks.R.

Definition at line 89 of file algo.h.

References __any().

Referenced by Rcpp::S4::is().

Here is the call graph for this function:

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:

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

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 !!

Examples:
RcppGibbs/RcppGibbs.R.

Definition at line 125 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(), CppProperty_GetPointer_SetPointer< Class, PROP >::set(), and Rcpp::attributes::SourceFileAttributesParser::SourceFileAttributesParser().

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

Definition at line 134 of file as.h.

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:

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

Definition at line 130 of file as.h.

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:

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

Definition at line 33 of file clone.h.

References x.

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
Examples:
RcppGibbs/RcppGibbs.R.

Definition at line 55 of file col.h.

template<bool NA, typename T >
String Rcpp::collapse ( const VectorBase< STRSXP, NA, T > &  vec)
inline
template<typename FROM , typename TO >
void Rcpp::converter ( const char *  from,
const char *  to,
TO(*)(FROM)  fun,
const char *  docstring = 0 
)

Definition at line 386 of file Module.h.

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.

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.

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

Definition at line 725 of file Date.cpp.

References i.

Referenced by tzload().

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

Definition at line 735 of file Date.cpp.

References i.

Referenced by tzload().

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 80 of file exp.h.

References x.

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 lower_tri(), and upper_tri().

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
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 117 of file diff.h.

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

Definition at line 745 of file Date.cpp.

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

Referenced by tzload().

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:

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.

nanotime_t Rcpp::get_nanotime ( void  )

Referenced by Rcpp::Timer::step().

FunctionProxy Rcpp::GetCppCallable ( const std::string &  pkg,
const std::string &  mod,
const std::string &  fun 
)

Definition at line 460 of file Module.cpp.

References Rcpp::Environment::base_env(), Named(), and require().

Here is the call graph for this function:

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

Definition at line 817 of file Date.cpp.

References is_digit.

Referenced by getrule(), and getsecs().

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

Definition at line 770 of file Date.cpp.

References getsecs().

Referenced by tzparse().

Here is the call graph for this function:

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

Definition at line 762 of file Date.cpp.

Referenced by tzparse().

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

Definition at line 786 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:

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

Definition at line 753 of file Date.cpp.

References is_digit.

Referenced by tzparse().

static struct tm * Rcpp::gmtime_ ( const time_t *const  timep)
staticread

Definition at line 1601 of file Date.cpp.

References gmtsub(), and tm.

Referenced by operator+(), and Rcpp::Date::update_tm().

Here is the call graph for this function:

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

Definition at line 1585 of file Date.cpp.

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

Referenced by gmtsub().

Here is the call graph for this function:

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

Definition at line 1590 of file Date.cpp.

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

Referenced by gmtime_().

Here is the call graph for this function:

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

Definition at line 415 of file api.cpp.

References PROTECT(), and x.

Referenced by grow(), Rcpp::internal::grow__dispatch(), Rcpp::DottedPair::insert(), Rcpp::DottedPair::push_back(), and Rcpp::DottedPair::push_front().

Here is the call graph for this function:

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 57 of file grow.h.

References Rcpp::internal::grow__dispatch().

Here is the call graph for this function:

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

Definition at line 421 of file api.cpp.

References grow().

Here is the call graph for this function:

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

Definition at line 53 of file head.h.

References 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 > 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
Examples:
Misc/ifelseLooped.r, and SugarPerformance/sugarBenchmarks.R.

Definition at line 342 of file ifelse.h.

Referenced by library().

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.

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.

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.

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.

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.

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.

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
Examples:
ConvolveBenchmarks/exampleRCode.r, Misc/ifelseLooped.r, RcppGibbs/RcppGibbs.R, and SugarPerformance/sugarBenchmarks.R.

Definition at line 77 of file unique.h.

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

Referenced by library().

Here is the call graph for this function:

static int Rcpp::increment_overflow ( int *  number,
int  delta 
)
static

Definition at line 717 of file Date.cpp.

Referenced by timesub().

void Rcpp::init_ProtectionStack ( )
inline
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 173 of file setdiff.h.

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

Here is the call graph for this function:

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.

References x.

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(), and x.

Here is the call graph for this function:

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

Definition at line 73 of file is_na.h.

Referenced by is_na().

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.

References x.

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
Examples:
ConvolveBenchmarks/exampleRCode.r.

Definition at line 55 of file lapply.h.

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

Definition at line 1457 of file Date.cpp.

Referenced by timesub().

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

Definition at line 75 of file lower_tri.h.

References diag().

Here is the call graph for this function:

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

Definition at line 47 of file StringTransformer.h.

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.

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:

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:

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:

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

Definition at line 28 of file match.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref(), Rcpp::sugar::IndexHash< RTYPE >::lookup(), and table().

Here is the call graph for this function:

template<int RTYPE, bool NA, typename T >
traits::storage_type<RTYPE>::type Rcpp::max ( const VectorBase< RTYPE, NA, T > &  x)

Definition at line 136 of file minmax.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref(), and Rcpp::sugar::MinMax< RTYPE, NA, T >::max().

Here is the call graph for this function:

template<bool NA, typename T >
sugar::Mean<REALSXP,NA,T> Rcpp::mean ( const VectorBase< REALSXP, NA, T > &  t)
inline
template<int RTYPE, bool NA, typename T >
traits::storage_type<RTYPE>::type Rcpp::min ( const VectorBase< RTYPE, NA, T > &  x)
Argument Rcpp::Named ( const std::string &  name)
inline
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.

template<int RTYPE, bool NA, typename VECTOR >
sugar::Nona<RTYPE,NA,VECTOR> Rcpp::noNA ( const Rcpp::VectorBase< RTYPE, NA, VECTOR > &  vec)
inline
Examples:
SugarPerformance/sugarBenchmarks.R.

Definition at line 74 of file nona.h.

Referenced by convolve11cpp().

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

Definition at line 78 of file nona.h.

References x.

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

Definition at line 81 of file nona.h.

References x.

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

Definition at line 176 of file Date.cpp.

References Rcpp::Date::m_d.

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

Definition at line 276 of file Date.cpp.

References Rcpp::Datetime::m_dt.

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

Definition at line 161 of file Date.cpp.

References gmtime_(), Rcpp::Date::m_d, and Rcpp::Date::m_tm.

Here is the call graph for this function:

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

Definition at line 261 of file Date.cpp.

References Rcpp::Datetime::m_dt, Rcpp::Datetime::m_tm, and Rcpp::Datetime::m_us.

int Rcpp::operator- ( const Date &  d1,
const Date &  d2 
)

Definition at line 170 of file Date.cpp.

References Rcpp::Date::m_d.

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

Definition at line 270 of file Date.cpp.

References Rcpp::Datetime::m_dt.

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

Definition at line 171 of file Date.cpp.

References Rcpp::Date::m_d.

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

Definition at line 271 of file Date.cpp.

References Rcpp::Datetime::m_dt.

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

Definition at line 175 of file Date.cpp.

References Rcpp::Date::m_d.

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

Definition at line 275 of file Date.cpp.

References Rcpp::Datetime::m_dt.

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

Definition at line 173 of file Date.cpp.

References Rcpp::Date::m_d.

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

Definition at line 273 of file Date.cpp.

References Rcpp::Datetime::m_dt.

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

Definition at line 172 of file Date.cpp.

References Rcpp::Date::m_d.

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

Definition at line 272 of file Date.cpp.

References Rcpp::Datetime::m_dt.

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

Definition at line 174 of file Date.cpp.

References Rcpp::Date::m_d.

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

Definition at line 274 of file Date.cpp.

References Rcpp::Datetime::m_dt.

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
Examples:
RcppGibbs/RcppGibbs.R.

Definition at line 80 of file outer.h.

SEXP Rcpp::pairlist ( )
inline

Definition at line 30 of file grow.h.

References R_NilValue.

Referenced by Rcpp::DottedPair::push_back(), and Rcpp::DottedPair::replace().

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 85 of file exp.h.

References x.

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:

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:

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:

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:

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:

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:

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
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 90 of file exp.h.

References x.

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

Definition at line 53 of file r_cast.h.

References Rcpp::internal::r_true_cast(), and x.

Referenced by internal::vector_from_string().

Here is the call graph for this function:

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

Definition at line 141 of file minmax.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::get_ref(), and Rcpp::sugar::MinMax< RTYPE, NA, T >::range().

Here is the call graph for this function:

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

Definition at line 1963 of file api.cpp.

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

Definition at line 1970 of file api.cpp.

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

Definition at line 1977 of file api.cpp.

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

Definition at line 1990 of file api.cpp.

NumericVector Rcpp::rcauchy ( int  n)

Definition at line 2003 of file api.cpp.

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

Definition at line 2010 of file api.cpp.

SEXP Rcpp::Rcpp_PreserveObject ( SEXP  x)

Definition at line 50 of file api.cpp.

References GET_TOP, init_ProtectionStack(), R_NilValue, RCPP_DEBUG_2, RCPP_PROTECTION_STACK, Rcpp_Stack_Debug(), SET_TOP, set_vector_elt(), and x.

Referenced by Rcpp_ReplaceObject().

Here is the call graph for this function:

void Rcpp::Rcpp_ReleaseObject ( SEXP  x)

Definition at line 71 of file api.cpp.

References GET_TOP, i, init_ProtectionStack(), R_NilValue, RCPP_DEBUG_2, RCPP_PROTECTION_STACK_PTR, Rcpp_Stack_Debug(), and SET_TOP.

Referenced by Rcpp_ReplaceObject(), and Rcpp::RObject::~RObject().

Here is the call graph for this function:

SEXP Rcpp::Rcpp_ReplaceObject ( SEXP  x,
SEXP  y 
)
void Rcpp::Rcpp_Stack_Debug ( )

Definition at line 155 of file api.cpp.

References GET_TOP, i, init_ProtectionStack(), n, RCPP_PROTECTION_STACK, RCPP_PROTECTION_STACK_PTR, and sexp_to_name().

Referenced by Rcpp_PreserveObject(), Rcpp_ReleaseObject(), and Rcpp_ReplaceObject().

Here is the call graph for this function:

template<int RTYPE, bool NA, typename T >
sugar::Rep<RTYPE,NA,T> Rcpp::rep ( const VectorBase< RTYPE, NA, T > &  t,
int  n 
)
inline
Examples:
FastLM/benchmark.r, FastLM/fastLMviaArmadillo.r, and FastLM/fastLMviaGSL.r.

Definition at line 69 of file rep.h.

References n.

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

Definition at line 73 of file rep.h.

References n, and x.

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

Definition at line 76 of file rep.h.

References n, and x.

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

Definition at line 79 of file rep.h.

References n, and x.

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

Definition at line 82 of file rep.h.

References n, and x.

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

Definition at line 85 of file rep.h.

References n, and x.

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

Definition at line 51 of file rep_each.h.

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

Definition at line 50 of file rep_len.h.

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.

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

Definition at line 2018 of file api.cpp.

NumericVector Rcpp::rexp ( int  n)

Definition at line 2027 of file api.cpp.

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

Definition at line 2035 of file api.cpp.

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

Definition at line 2053 of file api.cpp.

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

Definition at line 2061 of file api.cpp.

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

Definition at line 2073 of file api.cpp.

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

Definition at line 2082 of file api.cpp.

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

Definition at line 2089 of file api.cpp.

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

Definition at line 2103 of file api.cpp.

NumericVector Rcpp::rlnorm ( int  n)

Definition at line 2117 of file api.cpp.

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

Definition at line 2124 of file api.cpp.

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

Definition at line 2137 of file api.cpp.

NumericVector Rcpp::rlogis ( int  n)

Definition at line 2150 of file api.cpp.

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

Definition at line 2157 of file api.cpp.

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

Definition at line 2168 of file api.cpp.

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

Definition at line 2178 of file api.cpp.

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

Definition at line 2191 of file api.cpp.

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

Definition at line 1912 of file api.cpp.

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

Definition at line 1937 of file api.cpp.

NumericVector Rcpp::rnorm ( int  n)

Definition at line 1956 of file api.cpp.

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.

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

Definition at line 2200 of file api.cpp.

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

Definition at line 2208 of file api.cpp.

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

Definition at line 2215 of file api.cpp.

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

Definition at line 2231 of file api.cpp.

Referenced by piSugar().

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

Definition at line 2240 of file api.cpp.

NumericVector Rcpp::runif ( int  n)

Definition at line 2249 of file api.cpp.

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

Definition at line 2256 of file api.cpp.

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

Definition at line 2265 of file api.cpp.

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

Definition at line 2275 of file api.cpp.

template<int RTYPE, bool NA, typename T , typename Function >
sugar::Sapply< RTYPE,NA,T,Function, traits::same_type< typename ::Rcpp::traits::result_of<Function>::type , typename Rcpp::traits::storage_type< traits::r_sexptype_traits< typename ::Rcpp::traits::result_of<Function>::type >::rtype >::type >::value> Rcpp::sapply ( const Rcpp::VectorBase< RTYPE, NA, T > &  t,
Function  fun 
)
inline
Examples:
SugarPerformance/sugarBenchmarks.R.

Definition at line 109 of file sapply.h.

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.

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.

Range Rcpp::seq ( int  start,
int  end 
)
inline
Examples:
Misc/fibonacci.r, and RcppGibbs/RcppGibbs.R.

Definition at line 52 of file seq_along.h.

Referenced by require().

template<int RTYPE, bool NA, typename T >
sugar::SeqLen Rcpp::seq_along ( const Rcpp::VectorBase< RTYPE, NA, T > &  t)
inline
Examples:
ConvolveBenchmarks/exampleRCode.r.

Definition at line 44 of file seq_along.h.

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

Here is the call graph for this function:

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

Definition at line 48 of file seq_along.h.

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 163 of file setdiff.h.

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

Here is the call graph for this function:

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 168 of file setdiff.h.

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

Here is the call graph for this function:

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 Module::get_function().

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.

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

Definition at line 72 of file unique.h.

template<int MAX_SIZE>
std::string Rcpp::sprintf ( const char *  format,
  ... 
)
template<typename T >
void Rcpp::standard_delete_finalizer ( T *  obj)

Definition at line 30 of file XPtr.h.

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

Definition at line 148 of file exceptions.h.

template<bool NA, typename T >
sugar::Sum<INTSXP,NA,T> Rcpp::sum ( const VectorBase< INTSXP, NA, T > &  t)
inline
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.

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.

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

Definition at line 95 of file table.h.

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

Referenced by in(), and match().

Here is the call graph for this function:

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

Definition at line 56 of file tail.h.

References n.

Referenced by Rcpp::DottedPair::insert(), and Rcpp::DottedPair::push_back().

static struct tm * Rcpp::timesub ( const time_t *const  timep,
const long  offset,
const struct state *const  sp,
struct tm *const  tmp 
)
staticread
static std::string Rcpp::toString ( const int  i)
static

Definition at line 45 of file exceptions.h.

References i.

static time_t Rcpp::transtime ( const time_t  janfirst,
const int  year,
const struct rule *const  rulep,
const long  offset 
)
static
static int Rcpp::typesequiv ( const struct state *  sp,
int  a,
int  b 
)
static
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 179 of file setdiff.h.

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

Here is the call graph for this function:

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:

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

Definition at line 70 of file upper_tri.h.

References diag().

Here is the call graph for this function:

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

Definition at line 50 of file var.h.

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

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

Definition at line 90 of file which_max.h.

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

Definition at line 90 of file which_min.h.

template<>
SEXP Rcpp::wrap ( const Date &  date)
Examples:
OpenMP/OpenMPandInline.r, and RcppInline/RObject.r.

Definition at line 204 of file Date.cpp.

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

Referenced by as_character_externalptr(), Rcpp::Environment::assign(), Vector< INTSXP >::assign(), Vector< RTYPE >::assign_object(), Vector< RTYPE >::assign_sugar_expression(), CppProperty_GetMethod< Class, PROP >::get(), CppProperty_Getter_Setter< PROP >::get(), CppProperty_Getter< PROP >::get(), CppProperty_GetConstMethod< Class, PROP >::get(), CppProperty_GetPointerMethod< Class, PROP >::get(), internal::generic_element_converter< RTYPE >::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::sugar::IndexHash< RTYPE >::get_profile_data(), Rcpp::internal::grow__dispatch(), Rcpp::Dimension::operator SEXP(), Rcpp::DatetimeVector::operator SEXP(), Rcpp::DateVector::operator SEXP(), internal::simple_name_proxy< RTYPE >::operator SEXP(), Rcpp::sugar::Sign< RTYPE, NA, T >::operator SEXP(), Rcpp::Reference::FieldProxy::operator=(), Rcpp::DottedPair::Proxy::operator=(), Rcpp::XPtr< T, Finalizer >::TagProxy::operator=(), Rcpp::RObject::AttributeProxy::operator=(), Rcpp::XPtr< T, Finalizer >::ProtectedProxy::operator=(), internal::generic_name_proxy< RTYPE >::operator=(), Rcpp::RObject::SlotProxy::operator=(), Vector< RTYPE >::NamesProxy::operator=(), internal::generic_proxy< RTYPE >::operator=(), Rcpp::sugar::Lapply< RTYPE, NA, T, Function >::operator[](), PiLeibniz(), and Rcpp::attributes::SourceFileAttributesParser::SourceFileAttributesParser().

Here is the call graph for this function:

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

Definition at line 283 of file Date.cpp.

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

Here is the call graph for this function:

template<>
SEXP Rcpp::wrap< Rcpp::Date > ( const Rcpp::Date date)
template<>
SEXP Rcpp::wrap< Rcpp::Datetime > ( const Rcpp::Datetime dt)
template<>
SEXP Rcpp::wrap< Rcpp::String > ( const Rcpp::String object)
inline

Definition at line 406 of file String.h.

References data, PROTECT(), and RCPP_STRING_DEBUG.

Here is the call graph for this function:

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

Definition at line 28 of file wrap_extra_steps.h.

References x.

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

Definition at line 90 of file Date.h.

References x.

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

Definition at line 278 of file Date.cpp.

References Rcpp::internal::getPosixClasses(), and x.

Here is the call graph for this function:

Variable Documentation

Definition at line 64 of file Named.h.

Referenced by sourceCppContext().

Module* Rcpp::current_scope
static

Definition at line 232 of file Module.cpp.

Referenced by getCurrentScope(), R_init_Rcpp(), and setCurrentScope().

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

Definition at line 626 of file Date.cpp.

Referenced by gmtload().

int Rcpp::gmt_is_set
static

Definition at line 697 of file Date.cpp.

Referenced by gmtsub().

struct state Rcpp::gmtmem
static

Definition at line 700 of file Date.cpp.

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 688 of file Date.cpp.

Referenced by timesub(), and transtime().

Rostream< false > Rcpp::Rcerr

Definition at line 201 of file api.cpp.

Rostream< true > Rcpp::Rcout
SEXP Rcpp::RCPP_PROTECTION_STACK = R_NilValue
static
SEXP* Rcpp::RCPP_PROTECTION_STACK_PTR = 0
static
bool Rcpp::RCPP_PROTECTION_STACK_READY = false
static

Definition at line 37 of file api.cpp.

Referenced by init_ProtectionStack().

struct tm Rcpp::tm
static

Definition at line 704 of file Date.cpp.

Referenced by gmtime_(), and gmtsub().

const int Rcpp::year_lengths[2]
static
Initial value:

Definition at line 693 of file Date.cpp.

Referenced by timesub(), and tzparse().