Uploaded December 2025 | Updated November 2026, 2 days ago
Emerging trend of LLM development in R and implementation (Mia Chen, Peng Zhang)
Abstract: Recent advancements in R have significantly simplified the integration of large language models (LLMs) into data workflows. This session offers a practical overview of how LLMs can be applied in R through a curated set of tools and packages. We highlight several LLM-related packages that boost productivity, support AI-assisted programming, and enable advanced tools such as retrieval-augmented generation (RAG). Real-world examples and demo are provided to demonstrate practical usage. This session is tailored for R users seeking to enhance their workflows with AI-powered capabilities and help illustrate how current available LLM-related package can work.
Presented at the 2025 R/Pharma Conference Asia/Pacific (APAC) Track.
Resources mentioned in the presentation:
- {ellmer}: Chat with large language models ellmer.tidyverse.org
- {shinychat}: Chat UI component for Shiny posit-dev.github.io/shinychat/r
- {ensure}: LLM-assisted unit testing for R simonpcouch.github.io/ensure
- {chores}: A collection of LLM assistants for R simonpcouch.github.io/chores
- {ragnar}: Retrieval-Augmented Generation Workflows ragnar.tidyverse.org
Emerging trend of LLM development in R and implementation (Mia Chen, Peng Zhang)
Abstract: Recent advancements in R have significantly simplified the integration of large language models (LLMs) into data workflows. This session offers a practical overview of how LLMs can be applied in R through a curated set of tools and packages. We highlight several LLM-related packages that boost productivity, support AI-assisted programming, and enable advanced tools such as retrieval-augmented generation (RAG). Real-world examples and demo are provided to demonstrate practical usage. This session is tailored for R users seeking to enhance their workflows with AI-powered capabilities and help illustrate how current available LLM-related package can work.
Presented at the 2025 R/Pharma Conference Asia/Pacific (APAC) Track.
Resources mentioned in the presentation:
- {ellmer}: Chat with large language models ellmer.tidyverse.org
- {shinychat}: Chat UI component for Shiny posit-dev.github.io/shinychat/r
- {ensure}: LLM-assisted unit testing for R simonpcouch.github.io/ensure
- {chores}: A collection of LLM assistants for R simonpcouch.github.io/chores
- {ragnar}: Retrieval-Augmented Generation Workflows ragnar.tidyverse.org










