Communicate with 'Ollama' to Run Large Language Models Locally
Overview
Wraps the 'Ollama' https://ollama.com API, which can be used to communicate with generative large language models locally.
query()can now batch annotate several images with the same prompt by passingimagesas a list (one element per query)- updated image annotation vignette to explain batch annotation
create_model()gains renderer and parser paramsquery()/chat()output = "data.frame"/"list"now includethinkingandtool_callsfrom the responsethinkargument inquery()/chat()now accepts"high"/"medium"/"low"/"max"in addition toTRUE/FALSE- fixes issue in tests
- bug fixes
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-30
- ERROR10 OK, 3 ERROR2026-07-07
- OK13 OK2026-06-08
- ERROR12 OK, 1 ERROR2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 13 (1 internal)includes a package overview page
- Examples that run
- 67%4 run in a plain check (2 of them under a condition) · 2 never run
- Exported functions with examples
- 45%
- Documented parameters
- 91%
- Return-value docs
- 91%
- Help pages citing references
- 0%
- annotation HTML
- authentication HTML
- Hugging Face Models HTML
- image-annotation HTML
- README
- text-embedding HTML
- Using Structured Outputs HTML
Downloads
Repository
- PRs merged (all time)
- 86%
- Median days to close, 50 most recently updated closed issues
- 7
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/jbgruber/rollama on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-29 · The repository has a site deploy workflow
pkgdown site last built 2026-09-29
Show all practicesHide 1 practice
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.3.1Latest
- RR 4.6.0 released · 2026-04-24
- 0.3.02026-03-25 · diff ↗ ·
added 10 exports
create_schema, list_running_models, push_model, type_array, type_boolean, type_enum, type_integer, type_number, type_object, type_string - 0.2.22025-04-26 · diff ↗
- 0.2.12025-04-24 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.2.0
- 0.1.0
- RR 4.4.0 released · 2024-04-24
- 0.0.32024-03-21 · diff ↗
- 0.0.22024-01-29
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-01-29
- Total releases
- 8 / 2 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 3.3 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rollama")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.