R Bindings for the UCR Suite

R bindings for functions from the UCR Suite by Rakthanmanon et al. (2012) , which enables ultrafast subsequence search for a best match under Dynamic Time Warping and Euclidean Distance.

Travis-CI Build Status codecov

R bindings for functions from the UCR Suite (Thanawin Rakthanmanon et al. 2012 SIGKDD), which enables ultrafast subsequence search under both Dynamic Time Warping and Euclidean Distance. UCR DTW is several orders of magnitudes faster than naive DTW searches.


Install rucrdtw from GitHub:



Examples are contained in the vignette rucrdtw:


Bug reports and contributions

Please file a github issue at https://github.com/pboesu/rucrdtw/issues if you find any problems or have feature suggestions. Contributions (via pull requests or otherwise) are welcome. If you don't like github you can contact the package maintainer at [email protected].


COPYRIGHT 2012: Thanawin Rakthanmanon, Bilson Campana, Abdullah Mueen, Gustavo Batista and Eamonn Keogh. (UCR Suite source code)

COPYRIGHT 2016: Philipp Boersch-Supan (R bindings)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


rucrdtw 0.1.3

  • Fixed memory leaks in C++ routines.

rucrdtw 0.1.2

  • Added a NEWS.md file to track changes to the package.
  • Updated CITATION to reflect publication in JOSS
  • C++ routines are registered now
  • vignette now uses the rbenchmark package instead of microbenchmark

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.4 by Philipp Boersch-Supan, 2 years ago


Report a bug at https://github.com/pboesu/rucrdtw/issues

Browse source code at https://github.com/cran/rucrdtw

Authors: Philipp Boersch-Supan [aut, cre] , Thanawin Rakthanmanon [aut] , Bilson Campana [aut] , Abdullah Mueen [aut] , Gustavo Batista [aut] , Eamonn Keogh [aut]

Documentation:   PDF Manual  

Task views: Time Series Analysis

Apache License license

Imports Rcpp

Suggests testthat, knitr, rmarkdown, dtw, rbenchmark

Linking to Rcpp

System requirements: C++11

Suggested by IncDTW, mlr.

See at CRAN