The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

TextAnalysisR: A Text Mining Workflow Tool

Provides a text mining and natural language processing workflow for documents. Includes preprocessing via 'quanteda', lexical analysis (term frequency-inverse document frequency, log-odds ratios, lexical diversity) via 'tidytext', topic modeling via 'stm' and the 'BERTopic' approach, semantic similarity and document clustering on transformer representations, an interactive 'Shiny' interface with 'ggplot2' visualization, optional 'spaCy' preprocessing, and local 'sentence-transformers' or web-based ('OpenAI', 'Gemini') model providers for retrieval-augmented generation, as described in Shin et al. (2026) <doi:10.1177/07319487251412879>.

Version: 0.1.4
Depends: R (≥ 4.0)
Imports: dplyr, DT, ggplot2, htmltools, htmlwidgets, igraph, magrittr, Matrix, methods, quanteda, quanteda.textstats, RColorBrewer, rlang, scales, shiny, tibble, tidyr, tidytext, widyr, withr
Suggests: aricode, tidylo, broom, patchwork, cluster, clusterCrit, colourpicker, covr, dbscan, digest, httr, jsonlite, knitr, markdown, MASS, moments, numform, officer, openxlsx, pdftools, progress, proxy, pscl, purrr, readxl, reticulate (≥ 1.28), rmarkdown, roxygen2, Rtsne, shinyBS, shinybusy, shinyjs, spelling, stm, stopwords, stringr, syuzhet, testthat (≥ 3.0.0), textdata, umap, plotly
Published: 2026-07-27
DOI: 10.32614/CRAN.package.TextAnalysisR
Author: Mikyung Shin ORCID iD [aut, cre]
Maintainer: Mikyung Shin <shin.mikyung at gmail.com>
BugReports: https://github.com/mshin77/TextAnalysisR/issues
License: GPL (≥ 3)
URL: https://mshin77.github.io/TextAnalysisR/, https://github.com/mshin77/TextAnalysisR
NeedsCompilation: no
SystemRequirements: Python (>= 3.8) with spaCy (>= 3.5) for lemmatization and sentence-transformers (>= 2.2) for embeddings (optional)
Language: en-US
Citation: TextAnalysisR citation info
Materials: README, NEWS
CRAN checks: TextAnalysisR results

Documentation:

Reference manual: TextAnalysisR.html , TextAnalysisR.pdf
Vignettes: AI Integration (source, R code)
Security (source, R code)
Installation (source, R code)
Lexical Analysis (source, R code)
Multimodal Analysis (source, R code)
Preprocessing (source, R code)
Python Environment (source, R code)
Getting Started (source, R code)
Semantic Analysis (source, R code)
Topic Modeling (source, R code)
Accessibility (source, R code)

Downloads:

Package source: TextAnalysisR_0.1.4.tar.gz
Windows binaries: r-devel: TextAnalysisR_0.1.4.zip, r-release: TextAnalysisR_0.1.4.zip, r-oldrel: TextAnalysisR_0.1.4.zip
macOS binaries: r-release (arm64): TextAnalysisR_0.1.4.tgz, r-oldrel (arm64): TextAnalysisR_0.1.4.tgz, r-release (x86_64): TextAnalysisR_0.1.4.tgz, r-oldrel (x86_64): TextAnalysisR_0.1.4.tgz

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.