Contributing to base R: notes from R Dev Day
talk
R
group meeting
What happens at an R Dev Day, the base R connection bug I worked on, and pair programming with VS Code Live Share.
A session at our group meeting about my day at the R Dev Day held alongside RSECon25. R Dev Days are short events, usually one day, where new and experienced contributors work together on contributions to base R, with support from the R Core Team.
The session covered:
- how the day is organised: a shared list of open issues on documentation, translation, I/O and low-level code, each with a facilitator and contributors;
- the issue I worked on, #27, reported by Henrik Bengtsson. In R a connection is identified by a small integer that gets reused, so after
close(con1)a new connection can take the same number andcon1silently points to it. Writing tocon1then writes to the wrong file. Every connection also has a unique internalid, visible through theconn_idattribute, and that is what can tell the two apart; - VS Code Live Share, which lets several people edit and debug the same code at once from their own machines.