1
- ## Rcpp [ ![ Build Status] ( https://travis-ci.org/RcppCore/Rcpp.svg )] ( https://travis-ci.org/RcppCore/Rcpp ) [ ![ License] ( http://img.shields.io/badge/license-GPL%20%28%3E=%202%29-brightgreen.svg?style=flat )] ( http://www.gnu.org/licenses/gpl-2.0.html ) [ ![ CRAN] ( http://www.r-pkg.org/badges/version/Rcpp )] ( http ://cran.r-project.org/package=Rcpp) [ ![ Downloads] ( http://cranlogs.r-pkg.org/badges/Rcpp?color=brightgreen )] ( http://www.r-pkg.org/pkg/Rcpp )
1
+ ## Rcpp [ ![ Build Status] ( https://travis-ci.org/RcppCore/Rcpp.svg )] ( https://travis-ci.org/RcppCore/Rcpp ) [ ![ License] ( http://img.shields.io/badge/license-GPL%20%28%3E=%202%29-brightgreen.svg?style=flat )] ( http://www.gnu.org/licenses/gpl-2.0.html ) [ ![ CRAN] ( http://www.r-pkg.org/badges/version/Rcpp )] ( https ://cran.r-project.org/package=Rcpp) [ ![ Downloads] ( http://cranlogs.r-pkg.org/badges/Rcpp?color=brightgreen )] ( http://www.r-pkg.org/pkg/Rcpp )
2
2
3
3
### Seamless R and C++ Integration
4
4
5
- The [ Rcpp package] ( http ://cran.r-project.org/package=Rcpp) provides R functions and a C++ library
5
+ The [ Rcpp package] ( https ://cran.r-project.org/package=Rcpp) provides R functions and a C++ library
6
6
facilitating the integration of R and C++.
7
7
8
8
R data types (` SEXP ` ) are matched to C++ objects in a class hierarchy. All R
@@ -12,7 +12,7 @@ represented as instances of the Rcpp::NumericVector class, environments are
12
12
represented as instances of Rcpp::Environment, functions are represented as
13
13
Rcpp::Function, etc ...
14
14
The
15
- [ Rcpp-introduction] ( http ://cran.r-project.org/web/packages/ Rcpp/vignettes/Rcpp-introduction.pdf)
15
+ [ Rcpp-introduction] ( https ://cran.r-project.org/package= Rcpp/vignettes/Rcpp-introduction.pdf)
16
16
vignette (also published as a [ JSS paper] ( http://www.jstatsoft.org/v40/i08/ ) ) provides a good
17
17
entry point to Rcpp as do the [ Rcpp website] ( http://www.rcpp.org ) , the
18
18
[ Rcpp page] ( http://dirk.eddelbuettel.com/code/rcpp.html ) and the
@@ -21,16 +21,16 @@ is provided by the [Rcpp book](http://www.rcpp.org/book/).
21
21
22
22
Conversion from C++ to R and back is driven by the templates ` Rcpp::wrap `
23
23
and ` Rcpp::as ` which are highly flexible and extensible, as documented
24
- in the [ Rcpp-extending] ( http ://cran.r-project.org/web/packages/ Rcpp/vignettes/Rcpp-extending.pdf) vignette.
24
+ in the [ Rcpp-extending] ( https ://cran.r-project.org/package= Rcpp/vignettes/Rcpp-extending.pdf) vignette.
25
25
26
26
Rcpp also provides Rcpp modules, a framework that allows exposing
27
- C++ functions and classes to the R level. The [ Rcpp-modules] ( http ://cran.r-project.org/web/packages/ Rcpp/vignettes/Rcpp-modules.pdf) vignette
27
+ C++ functions and classes to the R level. The [ Rcpp-modules] ( https ://cran.r-project.org/package= Rcpp/vignettes/Rcpp-modules.pdf) vignette
28
28
details the current set of features of Rcpp-modules.
29
29
30
30
Rcpp includes a concept called Rcpp sugar that brings many R functions
31
31
into C++. Sugar takes advantage of lazy evaluation and expression templates
32
32
to achieve great performance while exposing a syntax that is much nicer
33
- to use than the equivalent low-level loop code. The [ Rcpp-sugar] ( http ://cran.r-project.org/web/packages/ Rcpp/vignettes/Rcpp-sugar.pdf)
33
+ to use than the equivalent low-level loop code. The [ Rcpp-sugar] ( https ://cran.r-project.org/package= Rcpp/vignettes/Rcpp-sugar.pdf)
34
34
gives an overview of the feature.
35
35
36
36
Rcpp attributes provide a high-level syntax for declaring C++
@@ -39,7 +39,7 @@ required to invoke them. Attributes are intended to facilitate both
39
39
interactive use of C++ within R sessions as well as to support R
40
40
package development. Attributes are built on top of Rcpp modules and
41
41
their implementation is based on previous work in the inline package.
42
- See the [ Rcpp-atttributes] ( http ://cran.r-project.org/web/packages/ Rcpp/vignettes/Rcpp-attributes.pdf) vignettes for more details.
42
+ See the [ Rcpp-atttributes] ( https ://cran.r-project.org/package= Rcpp/vignettes/Rcpp-attributes.pdf) vignettes for more details.
43
43
44
44
### Documentation
45
45
@@ -66,7 +66,7 @@ available for code relying on the older interface. New development should
66
66
always use this Rcpp package instead.
67
67
68
68
Other usage examples are provided by packages using Rcpp. As of September 2016,
69
- there are 759 [ CRAN] ( http ://cran.r-project.org) packages using Rcpp, a further
69
+ there are 759 [ CRAN] ( https ://cran.r-project.org) packages using Rcpp, a further
70
70
76 [ BioConductor] ( http://www.bioconductor.org ) packages in its current release
71
71
(with 84 in its devel version) as well as an unknown number of GitHub,
72
72
Bitbucket, R-Forge, ... repositories using Rcpp. All these packages provide
@@ -76,7 +76,7 @@ usage examples for Rcpp.
76
76
### Installation
77
77
78
78
Released and tested versions of Rcpp are available via the
79
- [ CRAN] ( http ://cran.r-project.org) network, and can be installed from within R via
79
+ [ CRAN] ( https ://cran.r-project.org) network, and can be installed from within R via
80
80
81
81
``` R
82
82
install.packages(" Rcpp" )
@@ -85,7 +85,7 @@ install.packages("Rcpp")
85
85
To install from source, ensure you have a complete package development
86
86
environment for R as discussed in the relevant documentation; also see
87
87
questions 1.2 and 1.3 in the
88
- [ Rcpp-FAQ] ( http ://cran.r-project.org/web/packages/ Rcpp/vignettes/Rcpp-FAQ.pdf) .
88
+ [ Rcpp-FAQ] ( https ://cran.r-project.org/package= Rcpp/vignettes/Rcpp-FAQ.pdf) .
89
89
90
90
### Authors
91
91
0 commit comments