@@ -26,22 +26,24 @@ It is also a place to highlight some of the largest differences between Rcpp and
26
26
27
27
## Class comparison table
28
28
29
- | Rcpp | cpp11 (read-only) | cpp11 (writable) | cpp11 header |
30
- | --- | --- | --- | --- |
31
- | NumericVector | doubles | writable::doubles | <cpp11/doubles.hpp> |
32
- | IntegerVector | integers | writable::integers | <cpp11/integers.hpp> |
33
- | CharacterVector | strings | writable::strings | <cpp11/strings.hpp> |
34
- | RawVector | raws | writable::raws | <cpp11/raws.hpp> |
35
- | List | list | writable::list | <cpp11/list.hpp> |
36
- | RObject | sexp | | <cpp11/sexp.hpp> |
37
- | XPtr | | external_pointer | <cpp11/external_pointer.hpp> |
38
- | Environment | | environment | <cpp11/environment.hpp> |
39
- | Function | | function | <cpp11/function.hpp> |
40
- | Environment (namespace) | | package | <cpp11/function.hpp> |
41
- | wrap | | as_sexp | <cpp11/as.hpp> |
42
- | as | | as_cpp | <cpp11/as.hpp> |
43
- | stop | stop | | <cpp11/protect.hpp> |
44
- | checkUserInterrupt | check_user_interrupt | | <cpp11/protect.hpp> |
29
+ | Rcpp | cpp11 (read-only) | cpp11 (writable) | cpp11 header |
30
+ | --- | --- | --- | --- |
31
+ | NumericVector | doubles | writable::doubles | <cpp11/doubles.hpp> |
32
+ | NumericMatrix | doubles_matrix<> | writable::doubles_matrix<> | <cpp11/doubles.hpp> |
33
+ | IntegerVector | integers | writable::integers | <cpp11/integers.hpp> |
34
+ | IntegerMatrix | integers_matrix<> | writable::integers_matrix<> | <cpp11/integers.hpp> |
35
+ | CharacterVector | strings | writable::strings | <cpp11/strings.hpp> |
36
+ | RawVector | raws | writable::raws | <cpp11/raws.hpp> |
37
+ | List | list | writable::list | <cpp11/list.hpp> |
38
+ | RObject | sexp | | <cpp11/sexp.hpp> |
39
+ | XPtr | | external_pointer | <cpp11/external_pointer.hpp> |
40
+ | Environment | | environment | <cpp11/environment.hpp> |
41
+ | Function | | function | <cpp11/function.hpp> |
42
+ | Environment (namespace) | | package | <cpp11/function.hpp> |
43
+ | wrap | | as_sexp | <cpp11/as.hpp> |
44
+ | as | | as_cpp | <cpp11/as.hpp> |
45
+ | stop | stop | | <cpp11/protect.hpp> |
46
+ | checkUserInterrupt | check_user_interrupt | | <cpp11/protect.hpp> |
45
47
46
48
## Incomplete list of Rcpp features not included in cpp11
47
49
0 commit comments