1,979 research outputs found

    R in a Nutshell

    No full text

    Rcpp: Seamless R and C++ Integration

    No full text
    The Rcpp package simplifies integrating C++ code with R. It provides a consistent C++ class hierarchy that maps various types of R objects (vectors, matrices, functions, environments, . . . ) to dedicated C++ classes. Object interchange between R and C++ is managed by simple, flexible and extensible concepts which include broad support for C++ Standard Template Library idioms. C++ code can both be compiled, linked and loaded on the fly, or added via packages. Flexible error and exception code handling is provided. Rcpp substantially lowers the barrier for programmers wanting to combine C++ code with R.

    Extending Rcpp

    No full text
    This note provides an overview of the steps programmers should follow to extend Rcpp (Eddelbuettel, François, Allaire, Chambers, Bates, and Ushey, 2014; Eddelbuettel and François, 2011) for use with their own classes. This document is based on our experience in extending Rcpp to work with the Armadillo (Sanderson, 2010) classes, available in the separate package RcppArmadillo (François, Eddelbuettel, and Bates, 2014). This document assumes knowledge of Rcpp as well as some knowledge of C++ templates (Abrahams and Gurtovoy, 2004).

    Writing a package that uses Rcpp

    No full text
    This document provides a short overview of how to use Rcpp (Eddelbuettel, François, Allaire, Chambers, Bates, and Ushey, 2014; Eddelbuettel and François, 2011; Eddelbuettel, 2013) when writing an R package. It shows how usage of the function Rcpp.package.skeleton which creates a complete and self-sufficient example package using Rcpp. All components of the directory tree created by Rcpp.package.skeleton are discussed in detail. This document thereby complements the Writing R Extensions manual (R Development Core Team, 2012) which is the authoritative source on how to extend R in general.

    Frequently Asked Questions about Rcpp

    No full text
    This document attempts to answer the most Frequently Asked Questions (FAQ) regarding the Rcpp (Eddelbuettel, François

    Fast and Elegant Numerical Linear Algebra Using the RcppEigen Package

    No full text
    The RcppEigen package provides access from R (R Core Team 2012a) to the Eigen (Guennebaud, Jacob, and others 2012) C++ template library for numerical linear algebra. Rcpp (Eddelbuettel and François 2011, 2012) classes and specializations of the C++ templated functions as and wrap from Rcpp provide the "glue" for passing objects from R to C++ and back. Several introductory examples are presented. This is followed by an in-depth discussion of various available approaches for solving least-squares problems, including rank-revealing methods, concluding with an empirical run-time comparison. Last but not least, sparse matrix methods are discussed

    Rcpp Attributes

    No full text
    Rcpp attributes provide a high-level syntax for declaring C++ functions as callable from R and automatically generating the code required to invoke them. Attributes are intended to facilitate both interactive use of C++ within R sessions as well as to support R package development. The implementation of attributes is based on previous work in the inline package (Sklyar, Murdoch, Smith, Eddelbuettel, and François, 2013).

    Entertainer: Pieter-Dirk Uys

    No full text
    This booklet celebrates the life and work of Pieter-Dirk Uys, internationally acclaimed playwright, author, role-model and one of South Africa's living treasures

    Entertainer: Pieter-Dirk Uys

    No full text
    This booklet celebrates the life and work of Pieter-Dirk Uys, internationally acclaimed playwright, author, role-model and one of South Africa's living treasures

    Entertainer: Pieter-Dirk Uys

    No full text
    This booklet celebrates the life and work of Pieter-Dirk Uys, internationally acclaimed playwright, author, role-model and one of South Africa's living treasures
    corecore