Integrating Generative AI into R Workflows: From APIs to Shiny Apps

Author

Christopher Runyon

Published

September 8, 2026

Welcome

This online resource shares materials from the “Integrating Generative AI into R Workflows: From APIs to Shiny Apps” workshop, first presented at the inaugural AIMECON meeting in October, 2025, and subsequently at NCME Annual Meeting in Los Angeles in April 2026. The current iteration of the workshops is for AIMECON again, where it will be presented on Monday, October 5th from 1pm-5pm EST. The second iteration of this workshop is on Wednesday, April 8, 2026 at the NCME Annual Meeting in Los Angeles.

The workshop assumes some working knowledge of the R programming language, and assumes little generative AI knowledge. If you need more information on using R, I highly recommend Hadley Wickham’s (free) R for Data Science.

This website licensed under the CC BY-NC-ND 4.0 License.

Changes to the book last made on:

2026-09-08 20:41:24 (GMT)


Learning Objectives

By the end of this workshop, participants will be able to:

  • Explain key LLM architectural features that inform effective integration practices
  • Implement both conversational and transactional API interactions with LLMs from R
  • Design and deploy simple chained prompt workflows for complex tasks
  • Build interactive Shiny applications that leverage LLM capabilities for end-user functionality

📥 Download All Activity Notebooks


⚠️ Privacy Reminder

Please don’t enter any personal, confidential, or sensitive information into generative AI tools. This includes private details about yourself or others, as well as proprietary data. Assume that anything you input could be used to train future models or be visible to others. It is important for you to consult both your IT departments and legal counsel before using a generative AI model in any operational setting.


⚖️ Legal Disclaimer

The information provided in this resource is for general informational purposes only and does not constitute legal advice. You should not act upon any information presented without first seeking qualified legal counsel regarding your specific situation. The author disclaims any liability for actions taken based on the content provided here.