'Ollama' Language Models
Overview
An interface to easily run local language models with 'Ollama' https://ollama.com server and API endpoints (see https://github.com/ollama/ollama/blob/main/docs/api.md for details). It lets you run open-source large language models locally on your machine.
generate()andchat()support structured output viaformatparameter.test_connection()returnshttr2::responseobject by default, but also support returning a logical value. #29chat()supports tool calling viatoolsparameter. Addedget_tool_calls()helper function to process tools. #30- Simplify README and add Get started vignette with more examples.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-08
- NOTE12 OK, 1 NOTE2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 36 (3 internal)
- Examples that run
- 97%30 run in a plain check (14 of them under a condition) · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 33%
- Using ollamar HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
12 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/hauselin/ollama-r on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2025-07-21 · The repository has a site deploy workflow
pkgdown site last built 2025-07-21
Show all practicesHide 1 practice
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.2.2Latest
- 1.2.12024-08-25 · diff ↗ ·
added 4 exports
create_messages, encode_images_in_messages, validate_message, validate_messages - 1.2.02024-08-17 · diff ↗ ·
added 18 exports
append_message, check_option_valid, check_options, copy, create, create_message, delete_message, embed, image_encode_base64, insert_message, model_avail, ohelp, prepend_message, ps, push, search_options, show, validate_options - 1.1.12024-05-02
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-05-02
- Total releases
- 4 / 2 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 527 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("ollamar")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.31234/osf.io/zsrg5.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.