LLMR: Interface for Large Language Model APIs in R

Provides a unified interface to large language models across multiple providers. Supports text generation, structured output with optional JSON Schema validation, and embeddings. Includes tidyverse-friendly helpers, chat session, consistent error handling, and parallel batch tools.

Package details

AuthorAli Sanaei [aut, cre]
MaintainerAli Sanaei <sanaei@uchicago.edu>
LicenseMIT + file LICENSE
Version0.6.3
URL https://github.com/asanaei/LLMR https://asanaei.github.io/LLMR/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("LLMR")

Try the LLMR package in your browser

Any scripts or data that you put into this service are public.

LLMR documentation built on Nov. 5, 2025, 7:07 p.m.