0

I have the folowing error siplayed :

Traceback (most recent call last):

File "", line 1, in DTW = importr("dtw")

File "C:\Anaconda3\lib\site-packages\rpy2\robjects\packages.py", line 438, in importr env = _get_namespace(rname)

when I used the rpy 2 bridge to use the packge DTW in R from a python code. Any help would be appreicated.

the imports I used were in the DTW R official website (link: http://dtw.r-forge.r-project.org/)

Houda L
  • 85
  • 2
  • 7
  • What it is worth the R package dtw was reported to be working with rpy2 (http://stackoverflow.com/questions/5695388/dynamic-time-warping-in-python). The full traceback, along with the R, python, and rpy2 versions would be the first steps to help us help you. – lgautier Jul 26 '16 at 22:06
  • I checked the link and tried the calls of dtw package, but the namescpace error remains. So I cannot use rpy2 to call this library from python. R = rpy2.robjects.r DTW = importr('dtw') – Houda L Jul 28 '16 at 09:14

0 Answers0