asardaes / dtwclust

R Package for Time Series Clustering Along with Optimizations for DTW
https://cran.r-project.org/package=dtwclust
GNU General Public License v3.0
252 stars 29 forks source link

install issue on windows #32

Closed Jammcgro123 closed 6 years ago

Jammcgro123 commented 6 years ago

Hi there,

C:\Program Files\R\R-3.5.0\bin\Rscript" -e "install.packages('dtwclust',repos='http://cran.r-project.org',dependencies=TRUE)"

"trying URL 'http://cran.r-project.org/bin/windows/contrib/3.5/dtwclust_5.4.0.zip' Content type 'application/zip' length 3723853 bytes (3.6 MB)

downloaded 3.6 MB

package 'dtwclust' successfully unpacked and MD5 sums checked

The downloaded binary packages are in C:\Users\Administrator.QUB\AppData\Local\Temp\RtmpOeAlKI\downloaded_packages"

"> library("dtwclust") Loading required package: proxy

Attaching package: ‘proxy’

The following objects are masked from ‘package:stats’:

as.dist, dist

The following object is masked from ‘package:base’:

as.matrix

Loading required package: dtw Loaded dtw v1.18-1. See ?dtw for help, citation("dtw") for use in publication.

Error: package or namespace load failed for ‘dtwclust’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘stringi’"

asardaes commented 6 years ago

Well you could try manually installing stringi, since it tells you it's missing. I don't know why it wasn't installed with the other dependencies, but that sometimes seems to happen (a specific dependency not installing automatically).