{
  "_id": "6ac03b5d91601a2ad299646c",
  "Package": "rlmstudio",
  "Title": "Access and Control LM Studio",
  "Version": "0.3.0",
  "Authors@R": "person(\"Jeffrey\", \"Girard\", , \"me@jmgirard.com\",\nrole = c(\"aut\", \"cph\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-7359-3746\"))",
  "Description": "Run local Large Language Models (LLMs) over many texts\nfrom 'R' without sending data to a third party. A\ncommunity-maintained wrapper for the 'LM Studio' command line\ninterface and API that provides functions to manage the local\ndaemon and server, download and load models, and score, label,\nor generate text at scale.",
  "License": "MIT + file LICENSE",
  "URL": "https://jmgirard.github.io/rlmstudio/,\nhttps://github.com/jmgirard/rlmstudio",
  "BugReports": "https://github.com/jmgirard/rlmstudio/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://jmgirard.r-universe.dev",
  "Date/Publication": "2026-10-02 19:36:51 UTC",
  "RemoteUrl": "https://github.com/jmgirard/rlmstudio",
  "RemoteRef": "HEAD",
  "RemoteSha": "11495299fbd7e4817729051cf666a3af42bcc2d5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-02 23:11:30 UTC",
    "User": "root"
  },
  "Author": "Jeffrey Girard [aut, cph, cre] (ORCID:\n<https://orcid.org/0000-0002-7359-3746>)",
  "Maintainer": "Jeffrey Girard <me@jmgirard.com>",
  "_user": "jmgirard",
  "_type": "src",
  "_file": "rlmstudio_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/6547279f2893b580a0cdf2366571993e4e7674328eef99cd1e4e7891fed769e8",
  "_filesize": 877580,
  "_sha256": "6547279f2893b580a0cdf2366571993e4e7674328eef99cd1e4e7891fed769e8",
  "_expires": "2027-01-10T23:16:43.000Z",
  "_created": "2026-10-02T23:11:30.000Z",
  "_published": "2026-10-02T23:16:45.667Z",
  "_jobs": [
    {
      "job": 111067189936,
      "time": 249,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11257265991"
    },
    {
      "job": 111067189922,
      "time": 232,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11256468310"
    },
    {
      "job": 111067190030,
      "time": 175,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11256682903"
    },
    {
      "job": 111067189996,
      "time": 199,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11257076202"
    },
    {
      "job": 111066437653,
      "time": 175,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11257240610"
    },
    {
      "job": 111067189916,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11256832533"
    },
    {
      "job": 111067190038,
      "time": 215,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11257186049"
    },
    {
      "job": 111067190011,
      "time": 272,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11257301062"
    },
    {
      "job": 111067190103,
      "time": 256,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11256678084"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jmgirard/actions/runs/37076139157",
  "_status": "success",
  "_upstream": "https://github.com/jmgirard/rlmstudio",
  "_commit": {
    "id": "11495299fbd7e4817729051cf666a3af42bcc2d5",
    "author": "Jeffrey Girard <me@jmgirard.com>",
    "committer": "Jeffrey Girard <me@jmgirard.com>",
    "message": "Note the 0.3.0 release in ROADMAP\n",
    "time": 1790969811
  },
  "_maintainer": {
    "name": "Jeffrey Girard",
    "email": "me@jmgirard.com",
    "login": "jmgirard",
    "twitter": "@jeffreymgirard",
    "description": "Associate Professor of Psychology",
    "uuid": 6829033,
    "orcid": "0000-0002-7359-3746"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "processx",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "httptest2",
      "role": "Suggests"
    },
    {
      "package": "httpuv",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mockery",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.3.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "jmgirard",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-11",
      "n": 86
    },
    {
      "week": "2026-12",
      "n": 8
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 6
    },
    {
      "week": "2026-19",
      "n": 6
    },
    {
      "week": "2026-38",
      "n": 49
    },
    {
      "week": "2026-39",
      "n": 75
    },
    {
      "week": "2026-40",
      "n": 143
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-03-13"
    },
    {
      "name": "v0.2.0",
      "date": "2026-03-14"
    },
    {
      "name": "v0.2.2",
      "date": "2026-05-02"
    },
    {
      "name": "v0.3.0",
      "date": "2026-10-02"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "jmgirard",
      "count": 374,
      "uuid": 6829033
    }
  ],
  "_userbio": {
    "uuid": 6829033,
    "type": "user",
    "name": "Jeffrey Girard",
    "followers": 96,
    "description": "Associate Professor of Psychology"
  },
  "_downloads": {
    "count": 270,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rlmstudio"
  },
  "_devurl": "https://github.com/jmgirard/rlmstudio",
  "_pkgdown": "https://jmgirard.github.io/rlmstudio/",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rlmstudio.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/jmgirard/rlmstudio",
  "_realowner": "jmgirard",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.2",
      "date": "2026-05-05"
    }
  ],
  "_exports": [
    "check_lms_version",
    "has_lms",
    "install_lmstudio",
    "list_instances",
    "list_models",
    "lms_chat",
    "lms_chat_batch",
    "lms_chat_native",
    "lms_chat_openai",
    "lms_chat_openresponses",
    "lms_daemon_start",
    "lms_daemon_status",
    "lms_daemon_stop",
    "lms_download",
    "lms_download_status",
    "lms_embed",
    "lms_load",
    "lms_path",
    "lms_score_expected",
    "lms_server_ready",
    "lms_server_start",
    "lms_server_status",
    "lms_server_stop",
    "lms_unload",
    "lms_unload_all",
    "with_lms_daemon"
  ],
  "_help": [
    {
      "page": "check_lms_version",
      "title": "Check if the installed LM Studio CLI meets the minimum requirement",
      "topics": [
        "check_lms_version"
      ]
    },
    {
      "page": "has_lms",
      "title": "Check if LM Studio CLI is installed",
      "topics": [
        "has_lms"
      ]
    },
    {
      "page": "install_lmstudio",
      "title": "Help the user install or update LM Studio",
      "topics": [
        "install_lmstudio"
      ]
    },
    {
      "page": "list_instances",
      "title": "List loaded model instances",
      "topics": [
        "list_instances"
      ]
    },
    {
      "page": "list_models",
      "title": "List available models",
      "topics": [
        "list_models"
      ]
    },
    {
      "page": "lms_chat",
      "title": "Chat Completion with LM Studio",
      "topics": [
        "lms_chat"
      ]
    },
    {
      "page": "lms_chat_batch",
      "title": "Batch Chat Completion with LM Studio",
      "topics": [
        "lms_chat_batch"
      ]
    },
    {
      "page": "lms_chat_native",
      "title": "Chat Completion via Native API",
      "topics": [
        "lms_chat_native"
      ]
    },
    {
      "page": "lms_chat_openai",
      "title": "Chat Completion via OpenAI Compatibility API",
      "topics": [
        "lms_chat_openai"
      ]
    },
    {
      "page": "lms_chat_openresponses",
      "title": "Chat Completion via OpenResponses API",
      "topics": [
        "lms_chat_openresponses"
      ]
    },
    {
      "page": "lms_daemon_start",
      "title": "Start the LM Studio headless daemon",
      "topics": [
        "lms_daemon_start"
      ]
    },
    {
      "page": "lms_daemon_status",
      "title": "Check the global status of LM Studio",
      "topics": [
        "lms_daemon_status"
      ]
    },
    {
      "page": "lms_daemon_stop",
      "title": "Stop the LM Studio headless daemon",
      "topics": [
        "lms_daemon_stop"
      ]
    },
    {
      "page": "lms_download",
      "title": "Download a model via REST API",
      "topics": [
        "lms_download"
      ]
    },
    {
      "page": "lms_download_status",
      "title": "Get the status of a download job",
      "topics": [
        "lms_download_status"
      ]
    },
    {
      "page": "lms_embed",
      "title": "Turn Text into Embedding Vectors",
      "topics": [
        "lms_embed"
      ]
    },
    {
      "page": "lms_load",
      "title": "Load a model via REST API",
      "topics": [
        "lms_load",
        "rlmstudio_context_above_max"
      ]
    },
    {
      "page": "lms_path",
      "title": "Get the absolute path to the LMS executable",
      "topics": [
        "lms_path"
      ]
    },
    {
      "page": "lms_score_expected",
      "title": "Calculate Expected Scores and Uncertainty from Logprobs",
      "topics": [
        "lms_score_expected"
      ]
    },
    {
      "page": "lms_server_ready",
      "title": "Check whether a host answers as a usable LM Studio server",
      "topics": [
        "lms_server_ready"
      ]
    },
    {
      "page": "lms_server_start",
      "title": "Start the LM Studio local server",
      "topics": [
        "lms_server_start"
      ]
    },
    {
      "page": "lms_server_status",
      "title": "Check the status of the LM Studio server",
      "topics": [
        "lms_server_status"
      ]
    },
    {
      "page": "lms_server_stop",
      "title": "Stop the LM Studio local server",
      "topics": [
        "lms_server_stop"
      ]
    },
    {
      "page": "lms_unload",
      "title": "Unload a model from memory via REST API",
      "topics": [
        "lms_unload"
      ]
    },
    {
      "page": "lms_unload_all",
      "title": "Unload all models from memory",
      "topics": [
        "lms_unload_all"
      ]
    },
    {
      "page": "rlmstudio_token",
      "title": "Authenticating to an LM Studio server",
      "topics": [
        "rlmstudio.token",
        "RLMSTUDIO_API_TOKEN",
        "rlmstudio_token"
      ]
    },
    {
      "page": "rlmstudio-conditions",
      "title": "Conditions raised by rlmstudio",
      "topics": [
        "rlmstudio-conditions",
        "rlmstudio_api_error",
        "rlmstudio_bad_response",
        "rlmstudio_model_mismatch",
        "rlmstudio_no_server",
        "rlmstudio_reply_cut_off"
      ]
    },
    {
      "page": "with_lms_daemon",
      "title": "Run code with the LM Studio daemon active",
      "topics": [
        "with_lms_daemon"
      ]
    }
  ],
  "_readme": "https://github.com/jmgirard/rlmstudio/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "glue",
    "httr2",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "processx",
    "ps",
    "R6",
    "rlang",
    "sys",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "chat-options.Rmd",
      "filename": "chat-options.html",
      "title": "Chat Options, Conversations, and Errors",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Start the server and load the model",
        "Three routes",
        "Request options",
        "A follow-up question",
        "A whole conversation",
        "The raw reply",
        "Errors in a script",
        "Clean up"
      ],
      "created": "2026-10-01 17:17:58",
      "modified": "2026-10-02 01:36:56",
      "commits": 4
    },
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting Started with LM Studio in R",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Install LM Studio",
        "Start the server",
        "Find a model",
        "Download the model",
        "Put the model in memory",
        "Chat with the model",
        "Send several prompts in one call",
        "Clean up",
        "Without the desktop app"
      ],
      "created": "2026-03-13 00:19:02",
      "modified": "2026-10-02 01:36:56",
      "commits": 21
    },
    {
      "source": "text-analysis.Rmd",
      "filename": "text-analysis.html",
      "title": "Text Analysis with LM Studio in R",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Hide the progress messages",
        "Start the server and load the model",
        "The texts",
        "A summary of each text",
        "Labels and ratings as columns",
        "A score from token probabilities",
        "When an input fails",
        "Similarity between texts",
        "All the results",
        "The loaded models",
        "Clean up"
      ],
      "created": "2026-10-01 01:02:54",
      "modified": "2026-10-01 20:11:02",
      "commits": 5
    },
    {
      "source": "headless-config.Rmd",
      "filename": "headless-config.html",
      "title": "Using LM Studio Without the Desktop App",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Install the command-line tool",
        "Start the daemon",
        "Start the server",
        "Use an API token",
        "Reach a server on another computer",
        "Run a script with the daemon",
        "Stop the daemon"
      ],
      "created": "2026-03-13 17:17:18",
      "modified": "2026-10-01 20:11:02",
      "commits": 11
    }
  ],
  "_score": 5.505149978319906,
  "_indexed": true,
  "_nocasepkg": "rlmstudio",
  "_universes": [
    "jmgirard"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-02T23:14:15.000Z",
      "distro": "resolute",
      "commit": "11495299fbd7e4817729051cf666a3af42bcc2d5",
      "fileid": "https://r2.ropensci.org/bd1aea0d611e0aa1986ca64f6818dcff1a62e867f77a4b15d0012df976dcbc52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmgirard/actions/runs/37076139157"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-02T23:13:36.000Z",
      "distro": "resolute",
      "commit": "11495299fbd7e4817729051cf666a3af42bcc2d5",
      "fileid": "https://r2.ropensci.org/2c57f048e3b21f6faab2e5607ba6941e2d1f329dcb590fdc241dac02abc05a92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmgirard/actions/runs/37076139157"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-02T23:13:13.000Z",
      "commit": "11495299fbd7e4817729051cf666a3af42bcc2d5",
      "fileid": "https://r2.ropensci.org/6023a6462f51b26f998f85dd34b4452f7731214d68ddf377275814675904334c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmgirard/actions/runs/37076139157"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-02T23:13:21.000Z",
      "commit": "11495299fbd7e4817729051cf666a3af42bcc2d5",
      "fileid": "https://r2.ropensci.org/57b3cd428b5dec53c28d2b6b919c65c5c39681e88a823287666ff2015d71033b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmgirard/actions/runs/37076139157"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-10-02T23:13:30.000Z",
      "commit": "11495299fbd7e4817729051cf666a3af42bcc2d5",
      "fileid": "https://r2.ropensci.org/da67db72b863b553862bf7fcb078978321598871c45b8d8adb57bddc6269e93a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jmgirard/actions/runs/37076139157"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-02T23:12:38.000Z",
      "commit": "11495299fbd7e4817729051cf666a3af42bcc2d5",
      "fileid": "https://r2.ropensci.org/b4c9a284bee0bfd7f360f6ba6201df80c2e369e48e69760dde780d6e40176c9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmgirard/actions/runs/37076139157"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-02T23:12:42.000Z",
      "commit": "11495299fbd7e4817729051cf666a3af42bcc2d5",
      "fileid": "https://r2.ropensci.org/de28f6985241e8281a7371d027f2ccbcfbadcb9fd103f608461baef9e7e19445",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmgirard/actions/runs/37076139157"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-02T23:12:47.000Z",
      "commit": "11495299fbd7e4817729051cf666a3af42bcc2d5",
      "fileid": "https://r2.ropensci.org/257f1877beea99996137adeaf4d361c0fd9a720073598b520d1ea8e4bab4ca56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmgirard/actions/runs/37076139157"
    }
  ]
}