Generative AI and Vibe Coding in R&D: Tools, Sensitive Data and Sustainability. Applications in R (RLadies+ Buenos Aires, R en Buenos Aires & NIS 2026)
To close the year, RLadies+ Buenos Aires, R en Buenos Aires and the Núcleo de Innovación Social (NIS) organized “set.seed(2027): R, IA y comunidad para construir lo que viene”, an in-person meetup at the Aula Magna of the Metropolitan University for Education and Work (Universidad Metropolitana para la Educación y el Trabajo, UMET). The goal was to introduce the three communities, share ways to get involved, and imagine together what we want to build in 2027.
I gave the main talk, “IA generativa y vibe coding en I+D: herramientas, datos sensibles y sostenibilidad. Aplicaciones en R” (Generative AI and vibe coding in R&D: tools, sensitive data and sustainability. Applications in R). It builds on the talk I gave at BIOMED UCA earlier this year, but this time it was aimed at a technical audience and focused on the R ecosystem.

After introducing Andrej Karpathy’s definition of vibe coding, the talk started from two questions:
- If I no longer read the diffs, how do I know the result is right?
- If the tool can see my whole project, what is it seeing?
First, I mapped some of the AI tools available in R, such as Copilot in RStudio, ellmer, gander, chores, btw, mcptools and Claude Code.
Then we discussed how to evaluate what these tools produce. Many people working in data analysis come from the social sciences and learned to code to answer questions, not to write tests. A script that runs without errors can still be computing the wrong thing, so I shared practices like reading the diff, writing testthat tests on known cases and using renv, Quarto or {targets} for reproducibility, along with the idea of not being a “meat proxy” for the AI.
The second half focused on sensitive data: cloud versus local models, questions to ask before starting, the many ways data can leave your machine, and examples of university policies. For R projects, I described four layers of defense so that the model sees code, schemas and aggregated results, but never rows of real data: instructions in CLAUDE.md, permissions and hooks, an architecture that keeps the data away from where the agent works, and a way of working where you ask for the script instead of sharing the data.
To close, I contrasted how easy these practices are in an individual project with how hard they are to scale in an organization, and left some questions to bring back to our workplaces: which tools are approved, where sensitive data lives, who reviews what gets published, and who pays for the material conditions these practices require.

- Link to the slides (in Spanish) and the English version