|
1 | 1 | Package: Rcpp |
2 | 2 | Title: Seamless R and C++ Integration |
3 | | -Version: 0.11.2.4 |
4 | | -Date: 2014-09-10 |
| 3 | +Version: 0.11.2.6 |
| 4 | +Date: 2014-09-21 |
5 | 5 | Author: Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey, |
6 | 6 | Douglas Bates, and John Chambers |
7 | 7 | Maintainer: Dirk Eddelbuettel < [email protected]> |
8 | 8 | Description: The Rcpp package provides R functions as well as a C++ classes |
9 | | - which facilitate the integration of R and C++. |
10 | | - . |
11 | | - R data types (SEXP) are matched to C++ objects in a class hierarchy. All R |
12 | | - types are supported (vectors, functions, environment, etc ...) and each |
13 | | - type is mapped to a dedicated class. For example, numeric vectors are |
14 | | - represented as instances of the Rcpp::NumericVector class, environments are |
15 | | - represented as instances of Rcpp::Environment, functions are represented as |
16 | | - Rcpp::Function, etc ... The "Rcpp-introduction" vignette provides a good |
17 | | - entry point to Rcpp. |
18 | | - . |
19 | | - Conversion from C++ to R and back is driven by the templates Rcpp::wrap |
20 | | - and Rcpp::as which are highly flexible and extensible, as documented |
21 | | - in the "Rcpp-extending" vignette. |
22 | | - . |
23 | | - Rcpp also provides Rcpp modules, a framework that allows exposing |
24 | | - C++ functions and classes to the R level. The "Rcpp-modules" vignette |
25 | | - details the current set of features of Rcpp-modules. |
26 | | - . |
27 | | - Rcpp includes a concept called Rcpp sugar that brings many R functions |
28 | | - into C++. Sugar takes advantage of lazy evaluation and expression templates |
29 | | - to achieve great performance while exposing a syntax that is much nicer |
30 | | - to use than the equivalent low-level loop code. The "Rcpp-sugar" vignette |
31 | | - gives an overview of the feature. |
32 | | - . |
33 | | - Rcpp attributes provide a high-level syntax for declaring C++ |
34 | | - functions as callable from R and automatically generating the code |
35 | | - required to invoke them. Attributes are intended to facilitate both |
36 | | - interactive use of C++ within R sessions as well as to support R |
37 | | - package development. Attributes are built on top of Rcpp modules and |
38 | | - their implementation is based on previous work in the inline package. |
39 | | - . |
40 | | - Many examples are included, and around 900 unit tests in 446 unit |
41 | | - test functions provide additional usage examples. |
42 | | - . |
43 | | - An earlier version of Rcpp, containing what we now call the 'classic Rcpp |
44 | | - API' was written during 2005 and 2006 by Dominick Samperi. This code has |
45 | | - been factored out of Rcpp into the package RcppClassic, and it is still |
46 | | - available for code relying on the older interface. New development should |
47 | | - always use this Rcpp package instead. |
48 | | - . |
49 | | - Additional documentation is available via the paper by Eddelbuettel and |
50 | | - Francois (2011, JSS) paper and the book by Eddelbuettel (2013, Springer); |
51 | | - see 'citation("Rcpp")' for details. |
| 9 | + which offer a seamless integration of R and C++. Many R data types and objects |
| 10 | + can be mapped back and forth to C++ equivalents which facilitates both writing |
| 11 | + of new code as well as easier integration of third-party libraries. Extensive |
| 12 | + documentation about Rcpp is provided by several vignettes included in this |
| 13 | + package, via the Rcpp Gallery site at http://gallery.rcpp.org, the paper by |
| 14 | + Eddelbuettel and Francois (2011, JSS), and the book by Eddelbuettel (2013, |
| 15 | + Springer); see 'citation("Rcpp")' for details on these last two. |
52 | 16 | Depends: R (>= 3.0.0) |
53 | 17 | Imports: methods |
54 | 18 | Suggests: RUnit, inline, rbenchmark, highlight, pkgKitten (>= 0.1.2) |
|
0 commit comments