rucrdtw - R Bindings for the UCR Suite

R-CMD-check codecov CRAN_Status_Badge Peer_Reviewed_Software DOI:10.21105/joss.00100

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:



To cite rucrdtw in publications, please use:

Boersch-Supan (2016). rucrdtw: Fast time series subsequence search in R. The Journal of Open Source Software

Rakthanmanon et al. (2012). Searching and mining trillions of time series subsequences under dynamic time warping. SIGKDD

Bug reports and contributions

Please file a github issue at if you find any problems or have feature suggestions. Contributions (via pull requests or otherwise) are welcome. Read more about how to contribute and the code of conduct for contributions here. If you don’t like github you can contact the package maintainer at


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.