Skip to content

Commit b44343a

Browse files
authored
add _matrix<> to reference table (#305)
1 parent daa4915 commit b44343a

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

vignettes/converting.Rmd

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,24 @@ It is also a place to highlight some of the largest differences between Rcpp and
2626

2727
## Class comparison table
2828

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> |
4547

4648
## Incomplete list of Rcpp features not included in cpp11
4749

0 commit comments

Comments
 (0)