{"repo":"hauselin/ollama-r","free":true,"listed":false,"github":"https://github.com/hauselin/ollama-r","clone":"git clone https://github.com/hauselin/ollama-r.git","description":"R library to run Ollama language models","language":"R","stars":126,"topics":["llms","r","ollama","ollama-api","ai","llm","api"],"license":null,"category":"ai-agents","readme_excerpt":"ollamar The Ollama R library is the easiest way to integrate R with Ollama, which lets you run language models locally on your own machine. The library also makes it easy to work with data structures (e.g., conversational/chat histories) that are standard for different LLMs (such as those provided by OpenAI and Anthropic). It also lets you specify different output formats (e.g., dataframes, text/vector, lists) that best suit your need, allowing easy integration with other libraries/tools and parallelization via the httr2 library. To use this R library, ensure the Ollama app is installed. Ollama can use GPUs for accelerating LLM inference. See Ollama GPU documentation for more information. See Ollama’s Github page for more information. This library uses the Ollama REST API (see documentation for details) and was last tested on v0.5.4. Note: You should have at least 8 GB of RAM available to run the 7B models, 16 GB to run the 13B models, and 32 GB to run the 33B models. Ollama R vs Ollama Python/JS This library has been inspired by the official Ollama Python and Ollama JavaScript libraries. If you’re coming from Python or JavaScript, you should feel right at home. Alternatively, if you plan to use Ollama with Python or JavaScript, using this R library will help you understand the Python/JavaScript libraries as well. Installation 1. Download and install the Ollama app. - macOS - Windows preview - Linux: curl -fsSL https://ollama.com/install.sh sh - Docker image 2. Open/launch th","default_branch":null,"files":null,"tree":[],"storefront":"/r/hauselin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hauselin/ollama-r/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}