Package: bertopicr 0.3.6

bertopicr: Topic Modeling with 'BERTopic'

Provides topic modeling and visualization by interfacing with the 'BERTopic' library for 'Python' via 'reticulate' (Grootendorst 2022 <doi:10.48550/arXiv.2203.05794>).

Authors:Teodor Petrič [aut, cre]

bertopicr_0.3.6.tar.gz
bertopicr_0.3.6.zip(r-4.7-any)bertopicr_0.3.6.zip(r-4.6-any)bertopicr_0.3.6.zip(r-4.5-any)
bertopicr_0.3.6.tgz(r-4.6-any)bertopicr_0.3.6.tgz(r-4.5-any)
bertopicr_0.3.6.tar.gz(r-4.7-any)bertopicr_0.3.6.tar.gz(r-4.6-any)
bertopicr_0.3.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
bertopicr/json (API)

# Install 'bertopicr' in R:
install.packages('bertopicr', repos = c('https://tpetric7.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tpetric7/bertopicr/issues

Pkgdown/docs site:https://tpetric7.github.io

On CRAN:

Conda:

6.38 score 7 stars 46 scripts 325 downloads 22 exports 44 dependencies

Last updated from:d6acc03bfb. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK148
source / vignettesOK338
linux-releaseOK137
macos-releaseOK222
macos-oldrelOK203
windows-develOK97
windows-releaseOK117
windows-oldrelOK102
wasm-releaseOK109

Exports:configure_macos_homebrew_zlibfind_topics_dfget_document_info_dfget_most_representative_docsget_representative_docs_customget_topic_dfget_topic_info_dfget_topics_dfload_bertopic_modelsave_bertopic_modelsetup_python_environmenttrain_bertopic_modelvisualize_barchartvisualize_distributionvisualize_documentsvisualize_documents_2dvisualize_documents_3dvisualize_heatmapvisualize_hierarchyvisualize_topicsvisualize_topics_over_timevisualize_topics_per_class

Dependencies:base64encbitbit64clicliprcpp11crayondigestdplyrfastmapgenericsglueherehmshtmltoolsjsonlitelatticelifecyclemagrittrMatrixpillarpkgconfigpngprettyunitsprogresspurrrR6rappdirsRcppRcppTOMLreadrreticulaterlangrprojrootstringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwithr

Topic Modeling with BERTopic in R using reticulate and local LLMs
Load R packages | Python packages | Text preparation | Model Preparation | Embeddings | Dimension reduction | Clustering | c-TF-IDF | Representation models | Zeroshot keywords | Topic Model | Model Training | Topic Dynamics | Store Results | Results | Document information | Representative docs | Topic information | Words in Topics | Topic Barchart | Find Topics | Get Topics | Topic Distribution | Intertopic Distance Map | Topic Similarity | Topic hierarchy | Visualize Documents | Topic Development | Groups | Wordcloud | Conclusion

Last update: 2026-01-09
Started: 2025-12-12

Load and Reuse a BERTopic Model
Load R packages | GPU availability (optional) | Load the model bundle | Load data for inspection | Create tables from the loaded model | Use extras and visualizations

Last update: 2026-01-06
Started: 2026-01-02

Train and Save a BERTopic Model
Load R packages | GPU availability (optional) | Load sample data | Train the model | Save the model and extras

Last update: 2026-01-06
Started: 2026-01-02