Other packages > Find by keyword >

ahocorasick  

Fast Multi-Pattern String Matching with the 'Aho-Corasick' Algorithm
View on CRAN: Click here


Download and install ahocorasick package within the R console
Install from CRAN:
install.packages("ahocorasick")

Install from Github:
library("remotes")
install_github("cran/ahocorasick")

Install by package version:
library("remotes")
install_version("ahocorasick", "0.2.0")



Attach the package and use:
library("ahocorasick")
Maintained by
Hao Cheng
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-06-02
Latest Update: 2026-06-02
Description:
Provide fast multi-pattern string matching for 'R' using the 'Aho-Corasick' algorithm, powered by the 'Rust' 'aho-corasick' crate. It builds reusable automatons for detecting matches, counting matches, locating character, extracting matched text, and replacing matches in character vectors. For more details on the 'Aho-Corasick' algorithm, please see Aho and Corasick (1975) <doi:10.1145/360825.360855>.
How to cite:
Hao Cheng (2026). ahocorasick: Fast Multi-Pattern String Matching with the 'Aho-Corasick' Algorithm. R package version 0.2.0, https://cran.r-project.org/web/packages/ahocorasick. Accessed 26 Oct. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited ahocorasick R package
View ahocorasick citation profile
Other R packages that ahocorasick depends, imports, suggests or enhances
Complete documentation for ahocorasick
Functions, R codes and Examples using the ahocorasick R package
Full ahocorasick package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

LSDsensitivity  
Sensitivity Analysis Tools for 'LSD' Simulations
Tools for sensitivity analysis of LSD simulation models. Reads object-oriented data produced by LSD ...
Download / Learn more Package Citations See dependency  
rts2  
Log-Gaussian Cox Process Models with Approximations
Supports modelling real-time case data to facilitate the real-time surveillance of infectious disea ...
Download / Learn more Package Citations See dependency  
SADEG  
Stability Analysis in Differentially Expressed Genes
We analyzed the nucleotide composition of genes with a special emphasis on stability of DNA sequence ...
Download / Learn more Package Citations See dependency  
MARSS  
Multivariate Autoregressive State-Space Modeling
The MARSS package provides maximum-likelihood parameter estimation for constrained and unconstraine ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA