PacketLLM: Interactive 'OpenAI' Model Integration in 'RStudio'

Offers an interactive 'RStudio' gadget interface for communicating with 'OpenAI' large language models (e.g., 'gpt-4o', 'gpt-4o-mini', 'gpt-4.1', 'o1', 'o3-mini') (<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 model parameters such as temperature and 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.0
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-04-24
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
Materials: README NEWS
CRAN checks: PacketLLM results

Documentation:

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

Downloads:

Package source: PacketLLM_0.1.0.tar.gz
Windows binaries: r-devel: not available, 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

Linking:

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