Skip to content

mallet

1.3.0Package record

An R Wrapper for the Java Mallet Topic Modeling Toolkit

0packages dependsuggested by 3
60Kdownloads / year
98.8%test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.3.0
READMENoVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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%
Vignettes (1)

Downloads

60K
CRAN downloads in the past year
Rank #1,989 · ~164/day · ~5K/mo
Daily download trend is not available in this view yet.
3K30 days
9.3K90 days
60K1 year
Compare downloads with other packages →
Also on108 r2u3 autocran

Repository

39Stars
10Forks
4Open issues
0Open PRs
1Releases
155Commits
4Commit identities
155 commits · Last activity 2022-07-21 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-02-28 · 392026-07-07 · 39
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Coverage (1)
Coverage reporting (Codecov)
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing mallet adds 3 packages (3 with compiled code, 900 KB of source tarballs). Heaviest: rJava 624 KB, checkmate 247 KB, backports 29 KB.

Depends (1)
R >= 3.6.3
Imports (2)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 3
Suggests, most downloaded first

Datasets

People & History

People (2)
Maintainer since 1.3.0 (2022), Author · added in 1.3.0
Author, Copyright holder

Previously maintained by David Mimno (1.0).

Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • unarchivedReturned to CRAN
    2022-07-20
  • 1.3.0Latest
    record
    2022-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 CRAN
    2022-06-14
    check problems were not corrected despite reminders
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
Show 2 earlier eventsHide 2 earlier events
  • 1.0
    record
    2013-08-09
  • R
    R 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")
Magnusson, M., & Mimno, D. (2022). mallet: An R Wrapper for the Java Mallet Topic Modeling Toolkit (Version 1.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mallet version 1.3.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy