Skip to content

fastTopics

Fast Algorithms for Fitting Topic Models and Non-Negative Matrix Factorizations to Count Data

v0.7-38 · Feb 13, 2026 · BSD_2_clause + file LICENSE

Description

Implements fast, scalable optimization algorithms for fitting topic models ("grade of membership" models) and non-negative matrix factorizations to count data. The methods exploit the special relationship between the multinomial topic model (also, "probabilistic latent semantic indexing") and Poisson non-negative matrix factorization. The package provides tools to compare, annotate and visualize model fits, including functions to efficiently create "structure plots" and identify key features in topics. The 'fastTopics' package is a successor to the 'CountClust' package. For more information, see <doi:10.48550/arXiv.2105.13440> and <doi:10.1186/s13059-023-03067-9>. Please also see the GitHub repository for additional vignettes not included in the package on CRAN.

Downloads

CRAN

408

Last 30 days

10139th

1.3K

Last 90 days

9.3K

Last year

Trend: +28.7% (30d vs prior 30d)

r2u

40

Last 30 days

196

Last 90 days

648

Last year

Trend: -68% (30d vs prior 30d)

r2u: no daily series yet

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘plotly’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 14.3Mb
  sub-directories of 1Mb or more:
    data   7.2Mb
    doc    1.9Mb
    libs   4.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 14.5Mb
  sub-directories of 1Mb or more:
    data   7.2Mb
    doc    1.9Mb
    libs   4.8Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  9.8Mb
  sub-directories of 1Mb or more:
    data   6.2Mb
    doc    1.9Mb
    libs   1.2Mb
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/fastTopics.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 14.3Mb
  sub-directories of 1Mb or more:
    data   7.2Mb
    doc    1.9Mb
    libs   4.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 14.5Mb
  sub-directories of 1Mb or more:
    data   7.2Mb
    doc    1.9Mb
    libs   4.8Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  9.8Mb
  sub-directories of 1Mb or more:
    data   6.2Mb
    doc    1.9Mb
    libs   1.2Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 14.3Mb
  sub-directories of 1Mb or more:
    data   7.2Mb
    doc    1.9Mb
    libs   4.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 14.5Mb
  sub-directories of 1Mb or more:
    data   7.2Mb
    doc    1.9Mb
    libs   4.8Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  9.8Mb
  sub-directories of 1Mb or more:
    data   6.2Mb
    doc    1.9Mb
    libs   1.2Mb
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 9, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘uwot’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 14.3Mb
  sub-directories of 1Mb or more:
    data   7.2Mb
    doc    1.9Mb
    libs   4.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 14.5Mb
  sub-directories of 1Mb or more:
    data   7.2Mb
    doc    1.9Mb
    libs   4.8Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  9.8Mb
  sub-directories of 1Mb or more:
    data   6.2Mb
    doc    1.9Mb
    libs   1.2Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 14.3Mb
  sub-directories of 1Mb or more:
    data   7.2Mb
    doc    1.9Mb
    libs   4.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 14.5Mb
  sub-directories of 1Mb or more:
    data   7.2Mb
    doc    1.9Mb
    libs   4.8Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  9.8Mb
  sub-directories of 1Mb or more:
    data   6.2Mb
    doc    1.9Mb
    libs   1.2Mb

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies Matrix gtools quadprog irlba dplyr Rtsne uwot ashr Rcpp RcppParallel RhpcBLASctl progress pbapply rlang ggplot2 +5 more dependencies diffdriver fastTopics

Version History

9 tracked
new 0.7-38 Mar 10, 2026
updated 0.7-38 ← 0.7-37 diff Feb 13, 2026
updated 0.7-37 ← 0.7-30 diff Dec 23, 2025
updated 0.7-30 ← 0.6-192 diff Oct 20, 2025
updated 0.6-192 ← 0.6-186 diff Jul 8, 2024
updated 0.6-186 ← 0.6-163 diff Jun 28, 2024
updated 0.6-163 ← 0.6-142 diff Jan 15, 2024
updated 0.6-142 ← 0.6-135 diff Sep 5, 2022
new 0.6-135 May 26, 2022