PacketLLM: Interactive 'OpenAI' Model Integration in 'RStudio'
Offers an interactive 'RStudio' gadget interface for communicating with 'OpenAI' large language models (e.g., 'gpt-5', 'gpt-5-mini', 'gpt-5-nano') (<https://platform.openai.com/docs/api-reference>). Enables users to conduct multiple chat conversations simultaneously in separate tabs. Supports uploading local files (R, PDF, DOCX) to provide context for the models. Allows per-conversation configuration of system messages (where supported by the model). API interactions via the 'httr' package are performed asynchronously using 'promises' and 'future' to avoid blocking the R console. Useful for tasks like code generation, text summarization, and document analysis directly within the 'RStudio' environment. Requires an 'OpenAI' API key set as an environment variable.
| Version: | 0.1.1 |
| Depends: | R (≥ 4.1.0) |
| Imports: | future,httr,pdftools,promises,readtext,shiny,shinyjs, stats, tools, utils |
| Suggests: | knitr,rmarkdown,testthat (≥ 3.0.0) |
| Published: | 2025-08-23 |
| DOI: | 10.32614/CRAN.package.PacketLLM |
| Author: | Antoni Czolgowski [aut, cre] |
| Maintainer: | Antoni Czolgowski <antoni.czolgowski at gmail.com> |
| BugReports: | https://github.com/AntoniCzolgowski/PacketLLM/issues |
| License: | MIT + fileLICENSE |
| URL: | https://github.com/AntoniCzolgowski/PacketLLM |
| NeedsCompilation: | no |
| Language: | en-US |
| Materials: | README,NEWS |
| CRAN checks: | PacketLLM results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=PacketLLMto link to this page.