An R Wrapper for the Java Mallet Topic Modeling Toolkit
Overview
An R interface for the Java Machine Learning for Language Toolkit (mallet) http://mallet.cs.umass.edu/ to estimate probabilistic topic models, such as Latent Dirichlet Allocation. We can use the R package to read textual data into mallet from R objects, run the Java implementation of mallet directly in R, and extract results as R objects. The Mallet toolkit has many functions, this wrapper focuses on the topic modeling sub-package written by David Mimno. The package uses the rJava package to connect to a JVM.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-04-06
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-04
- OK14 OK2026-03-10
Documentation
- Help pages
- 19includes a package overview page
- Examples that run
- 0%10 never run
- Exported functions with examples
- 59%
- Documented parameters
- 100%
- Return-value docs
- 65%
- Help pages citing references
- 5%
- mallet HTML
Downloads
Repository
- PRs merged (all time)
- 80%
- Median days to close, 50 most recently updated closed issues
- 1,990
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/mimno/rmallet on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing mallet adds 3 packages (3 with compiled code, 900 KB of source tarballs). Heaviest: rJava 624 KB, checkmate 247 KB, backports 29 KB.
Code & Tests
Datasets
People & History
Previously maintained by David Mimno (1.0).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- unarchivedReturned to CRAN2022-07-20
- 1.3.0Latest2022-07-20 · current release · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 24 exports
MalletLDA, load.mallet.instances, load.mallet.state, mallet.doc.topics, mallet.import, mallet.jar, mallet.read.dir, mallet.stoplist.file.path, mallet.subset.topic.words, mallet.supported.stoplists, mallet.top.words, mallet.topic.hclust, mallet.topic.labels, mallet.topic.model.load, mallet.topic.model.read, mallet.topic.model.save, mallet.topic.model.write, mallet.topic.words, mallet.word.freqs, mallet_jar, mallet_stoplist_file_path, mallet_supported_stoplists, save.mallet.instances, save.mallet.state - archivedRemoved from CRAN2022-06-14check problems were not corrected despite reminders
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
Show 2 earlier eventsHide 2 earlier events
- 1.02013-08-09
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2013-08-09
- Total releases
- 2 / 13 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.6.3
- Bundled data
- 503 KB / 1 file
- Download size
- 3.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mallet")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.