Modern Text Mining Framework for R
Overview
Fast and memory-friendly tools for text vectorization, topic modeling (LDA, LSA), word embeddings (GloVe), similarities. This package provides a source-agnostic streaming API, which allows researchers to perform analysis of collections of documents which are larger than available RAM. All core functions are parallelized to benefit from multicore machines.
- fix R CMD check notes in documentation of R6 classes
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 30 (1 internal)includes a package overview page
- Examples that run
- 53%8 run in a plain check · 7 never run
- Exported functions with examples
- 56%
- Documented parameters
- 90%
- Return-value docs
- 41%
- Help pages citing references
- 3%
Downloads
Repository
- PRs merged (all time)
- 81%
- Median days to close, 50 most recently updated closed issues
- 5
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Issues over time
PRs over time
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/dselivanov/text2vec on 2026-10-18.
GitHub Pages site last deployed 2025-12-01
Dependencies
Installing text2vec adds 12 packages (9 with compiled code, 22 MB of source tarballs). Heaviest: stringi 11 MB, data.table 5.7 MB, Rcpp 1.8 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.6.6Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.6.42023-11-09 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.6.32022-11-30 · diff ↗
- 0.6.22022-09-11 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.6.12022-04-21 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.62020-02-18 · diff ↗ ·
removed 2 exports
LatentDirichletAllocationDistributed, gloveadded 4 exports
coherence, combine_vocabularies, jsPCA_robust, postag_lemma_tokenizer - RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.5.1
Show 7 earlier eventsHide 7 earlier events
- 0.5.02017-08-08 · diff ↗ ·
removed 9 exports
create_corpus, get_dtm, get_idf, get_tcm, get_tf, transform_binary, transform_filter_commons, transform_tf, transform_tfidfadded 6 exports
Collocations, LatentDirichletAllocationDistributed, collect, ifiles_parallel, itoken_parallel, perplexity - RR 3.4.0 released · 2017-04-21
- 0.4.02016-10-04 · diff ↗ ·
removed 9 exports
GloveFitter, HashCorpus, VocabCorpus, VocabularyBuilder, boundary, coll, fixed, ilines, regexadded 19 exports
GloVe, GlobalVectors, LDA, LSA, LatentDirichletAllocation, LatentSemanticAnalysis, RWMD, RelaxedWordMoversDistance, TfIdf, as.lda_c, char_tokenizer, dist2, fit, fit_transform, normalize, pdist2, psim2, sim2, space_tokenizer - RR 3.3.0 released · 2016-05-03
- 0.3.02016-03-31 · diff ↗ ·
removed 11 exports
binary_transformer, check_analogue_accuracy, create_hash_corpus, create_vocab_corpus, dtm_get_idf, dtm_get_tf, feature_hasher, filter_commons_transformer, prepare_analogue_questions, tf_transformer, tfidf_transformeradded 15 exports
check_analogy_accuracy, create_corpus, create_dtm, create_tcm, create_vocabulary, get_idf, get_tf, hash_vectorizer, prepare_analogy_questions, split_into, transform_binary, transform_filter_commons, transform_tf, transform_tfidf, vocab_vectorizer - 0.2.02016-01-10
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2016-01-10
- Total releases
- 11 / 10 yrs
- License
- GPL (>= 2) | file LICENSE OSI · relicensed from MIT + file LICENSE in 0.4.0
- Minimum R
- ≥ 3.6.0
- Bundled data
- 1.9 MB / 1 file
- Download size
- 2.2 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("text2vec")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-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.