Closed ZZx121318 closed 7 months ago
When I upgrade the version of R to be the same as the package version, it still doesn't fix the problem. Why?
Because the package doesn't include a function called dtwclust
, the main function is called tsclust
.
Because the package doesn't include a function called , the main function is called .
dtwclust``tsclust
Thank you very much for your reply. Then how should I modify my code?
Ah I completely forgot about this. You should update your code to use the new function instead.
I'm using R 4.3.0 run by Rstudio, In this process I tried to run Rstudio by giving it administrator status and by forcing (re) installing and updating the latest version of the dtwclust package (install.packages("dtwclust", repos =" http://cran.r-project.org", type="source", INSTALL_opts = '--force-reinstall')), The result is "could not find function "dtwclust", I do not understand why this is so, I urgently want someone to help me, here is my complete code, thank you!
程序包‘dtwclust’打开成功,MD5和检查也通过
下载的二进制程序包在 C:\Users\周小星\AppData\Local\Temp\Rtmpcb9YmW\downloaded_packages里
trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/4.3/dplyr_1.1.2.zip' Content type 'application/zip' length 1551893 bytes (1.5 MB) downloaded 1.5 MB
trying URL 'https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/4.3/tidyr_1.3.0.zip' Content type 'application/zip' length 1292092 bytes (1.2 MB) downloaded 1.2 MB
程序包‘ggplot2’打开成功,MD5和检查也通过 程序包‘dplyr’打开成功,MD5和检查也通过 程序包‘tidyr’打开成功,MD5和检查也通过
下载的二进制程序包在 C:\Users\周小星\AppData\Local\Temp\Rtmpcb9YmW\downloaded_packages里
载入程辑包:‘proxy’
The following objects are masked from ‘package:stats’:
The following object is masked from ‘package:base’:
载入需要的程辑包:dtw Loaded dtw v1.23-1. See ?dtw for help, citation("dtw") for use in publication.
dtwclust: Setting random number generator to L'Ecuyer-CMRG (see RNGkind()). To read the included vignettes type: browseVignettes("dtwclust"). See news(package = "dtwclust") after package updates. Warning message: 程辑包‘dtwclust’是用R版本4.3.1 来建造的
载入程辑包:‘dplyr’
The following objects are masked from ‘package:stats’:
The following objects are masked from ‘package:base’:
Warning message: 程辑包‘dplyr’是用R版本4.3.1 来建造的