Annotation of pkgsrc/devel/R-Rcpp/DESCR, revision 1.1
1.1 ! brook 1: The Rcpp package provides R functions as well as a C++ library which
! 2: facilitate the integration of R and C++.
! 3:
! 4: R data types (SEXP) are matched to C++ objects in a class hierarchy.
! 5: All R types are supported (vectors, functions, environment, etc ...)
! 6: and each type is mapped to a dedicated class. For example, numeric
! 7: vectors are represented as instances of the Rcpp::NumericVector class,
! 8: environments are represented as instances of Rcpp::Environment,
! 9: functions are represented as Rcpp::Function, etc ... The
! 10: "Rcpp-introduction" vignette provides a good entry point to Rcpp.
! 11:
! 12: Rcpp also provides Rcpp modules, a framework that allows exposing C++
! 13: functions and classes to the R level. The "Rcpp-modules" vignette
! 14: details the current set of features of Rcpp-modules.
! 15:
! 16: Rcpp includes a concept called Rcpp sugar that brings many R functions
! 17: into C++. Sugar takes advantage of lazy evaluation and expression
! 18: templates to achieve great performance while exposing a syntax that is
! 19: much nicer to use than the equivalent low-level loop code. The
! 20: "Rcpp-sugar" vignette gives an overview of the feature.
! 21:
! 22: Additional documentation is available via the paper by Eddelbuettel
! 23: and Francois (2011, JSS) paper and the book by Eddelbuettel (2013,
! 24: Springer); see 'citation("Rcpp")' for details.
CVSweb <webmaster@jp.NetBSD.org>