Package: rollama 0.3.1.9000

rollama: Communicate with 'Ollama' to Run Large Language Models Locally

Wraps the 'Ollama' <https://ollama.com> API, which can be used to communicate with generative large language models locally.

Authors:Johannes B. Gruber [aut, cre], Maximilian Weber [aut, ctb]

rollama_0.3.1.9000.tar.gz
rollama_0.3.1.9000.zip(r-4.7-any)rollama_0.3.1.9000.zip(r-4.6-any)rollama_0.3.1.9000.zip(r-4.5-any)
rollama_0.3.1.9000.tgz(r-4.6-any)rollama_0.3.1.9000.tgz(r-4.5-any)
rollama_0.3.1.9000.tar.gz(r-4.7-any)rollama_0.3.1.9000.tar.gz(r-4.6-any)
rollama_0.3.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rollama/json (API)

# Install 'rollama' in R:
install.packages('rollama', repos = c('https://jbgruber.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jbgruber/rollama/issues

Pkgdown/docs site:https://jbgruber.github.io

On CRAN:

Conda:

8.70 score 127 stars 133 scripts 707 downloads 24 exports 27 dependencies

Last updated from:13fb533105. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK190
source / vignettesOK267
linux-releaseOK140
macos-releaseOK111
macos-oldrelOK96
windows-develOK158
windows-releaseOK156
windows-oldrelOK154
wasm-releaseOK135

Exports:chatchat_historycheck_model_installedcopy_modelcreate_modelcreate_schemadelete_modelembed_textlist_modelslist_running_modelsmake_querynew_chatping_ollamapull_modelpush_modelqueryshow_modeltype_arraytype_booleantype_enumtype_integertype_numbertype_objecttype_string

Dependencies:askpasscallrclicurldplyrgenericsgluehttr2jsonlitelifecyclemagrittropensslotelpillarpkgconfigprettyunitsprocessxpspurrrR6rlangsystibbletidyselectutf8vctrswithr

Using Structured Outputs
Defining a Schema | Extracting Information from Text | Batch Extraction | Nested Objects | Image-Based Extraction | Alternative Ways to Provide Structured Outputs | Create as a list | Create as json string | Using ellmer | Using tidyllm

Last update: 2026-08-10
Started: 2026-03-15

image-annotation
Annotating Several Images with Structured Output

Last update: 2026-07-07
Started: 2024-01-07

authentication
Ollama Turbo Example | Open WebUI Example | Keeping your keys save

Last update: 2026-03-23
Started: 2025-08-23

Hugging Face Models

Last update: 2026-03-16
Started: 2024-12-05

annotation
Introduction | Prompting Strategies | Zero-shot | One-shot | Few-shot | Chain-of-Thought | The make_query helper function | Example usage | Zero-shot example | One-shot example | Few-shot example with multiple examples | Batch annotation | Example using a dataframe

Last update: 2024-12-06
Started: 2024-01-03

text-embedding

Last update: 2024-12-06
Started: 2024-01-26

Readme and manuals

Help Manual

Help pageTopics
Handle conversationschat_history new_chat
Check if one or several models are installed on the servercheck_model_installed
Create a model from a Modelfilecreate_model
Create a structured output schemacreate_schema type_array type_boolean type_enum type_integer type_number type_object type_string
Generate Embeddingsembed_text
List models that are available locally.list_models
List running modelslist_running_models
Generate and format queries for a language modelmake_query
Ping server to see if Ollama is reachableping_ollama
Pull, push, show and delete modelscopy_model delete_model pull_model push_model show_model
Chat with a LLM through Ollamachat query
rollama Optionsrollama-options