r-devel / rdevguide

A guide for contributing to R core development
https://contributor.r-project.org/rdevguide/
Other
60 stars 19 forks source link

Overview of SEXPTYPE in scope? #165

Open MichaelChirico opened 7 months ago

MichaelChirico commented 7 months ago

This Q&A on StackOverflow is a good overview of the basics of R objects in C:

https://stackoverflow.com/a/77869794/3576984

I wonder if it would fit well in the current guide? If so, we can ask the author @allancameron to convert it to a form befitting of the guide.

llrs commented 7 months ago

While I found that answer very informative (+1). I think it fits, as the introduction says "This guide is a comprehensive resource for contributing to base R – for both new and experienced contributors". Under which section would you place it?

Just for reference, the table is similar to the one in R-internals (which isn't referenced much in the R-dev guide itself).