cpp11 icon indicating copy to clipboard operation
cpp11 copied to clipboard

cpp11 helps you to interact with R objects using C++ code.

Results 115 cpp11 issues
Sort by recently updated
recently updated
newest added
trafficstars

I imagine this isn't the intended behaviour but also has a very easy workaround (don't use hyphens in a C++ source filename). ``` r temp /private/var/folders/gt/l87wjg8s7312zs9s7c1fgs900000gn/T/Rtmp9b1IjL/file1045918f3e435/src/cpp11.cpp:5:43: error: expected ';' after...

Two improvements to `srouce_cpp()`: - Honor `_types.h` or `_types.hpp` (I included both extensions because editor support might be different for different extensions. And I feel it's cleaner to use hpp...

My function returns `external_pointer`. How can I get a definition of `MyClass` into cpp11.cpp? I was hoping for a declaration like `[cpp11:include]` which I can put in front of some...

documentation

From https://github.com/apache/arrow/pull/11534#issuecomment-965458681

Sorry if obvious, but I cannot figure out a way to provide compiler flags to `cpp_soruce` besides modifying the `~/.R/Makevars`. A local `Makevars` file is not picked up.

For some reason the current symbol-based approach didn't work for me (R 4.0.5) resulting in `Symbol not found` errors for `.Call()`. There is already support for an alternative `.Call(..., PACKAGE='...')`...

This improves backtraces, as the cost of having to look up the current frame for every call.

Still a little half baked: - [x] Move all conversion logic to an extensible trait structs - [x] Generalize container conversion - [ ] Fix conversion from altrep vectors -...

Can you add an example of using cpp11 with OpenMP in the documentation webpage?