rollama
Wrap the Ollama API, which allows you to run different LLMs
...It is designed to make LLM usage accessible to data scientists and researchers who work primarily in R, allowing them to generate text, analyze data, and create embeddings without relying on external cloud services. The package emphasizes reproducibility and privacy by enabling local execution of models, which is especially valuable for sensitive or research-oriented workflows. It supports common LLM tasks such as text generation, annotation, and embedding creation, making it useful for tasks like document analysis and data labeling. The design mirrors familiar R workflows, allowing users to integrate AI capabilities into scripts, notebooks, and data pipelines with minimal friction. ...