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 + file LICENSE
URL: https://github.com/AntoniCzolgowski/PacketLLM
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: PacketLLM results

Documentation:

Reference manual: PacketLLM.html , PacketLLM.pdf
Vignettes: Introduction to PacketLLM (source, R code)

Downloads:

Package source: PacketLLM_0.1.1.tar.gz
Windows binaries: r-devel: PacketLLM_0.1.0.zip, r-release: PacketLLM_0.1.0.zip, r-oldrel: PacketLLM_0.1.0.zip
macOS binaries: r-release (arm64): PacketLLM_0.1.0.tgz, r-oldrel (arm64): PacketLLM_0.1.0.tgz, r-release (x86_64): PacketLLM_0.1.0.tgz, r-oldrel (x86_64): PacketLLM_0.1.0.tgz
Old sources: PacketLLM archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=PacketLLM to link to this page.