coolbutuseless, Is there a blessed way to create a RAWSXP from an existing chunk of memory within C?
Specifics:
- The memory is already allocated elsewhere
- I don't want to use memcpy, just wrap the memory where it is such that the RAWSXP points to it.
- I don't want the garbage collector to know about it - I will free the memory myself later.
- It still has to be valid RAWSXP that I can use in R
This is a bit of a callback to this post: https://fosstodon.org/@coolbutuseless/111956983679205597
Add comment