When I installed package "rugharch", the rstudio showed that "package ‘rugarch’ successfully unpacked and MD5 sums checked". I saw in some forum that i shoul install the missing dependency install.packages("DistributionUtils") to resolve this problem. But, unfortunately, it's the same i can't install "rugarch" package. Someone knows how to solve this problem? Thanks.
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/Installing package into ‘C:/Users/stef info/Documents/R/win-library/3.5’(as ‘lib’ is unspecified)
There is a binary version available but the source version is later: binary source needs_compilation
rugarch 1.4-2 1.4-4 TRUE
Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/rugarch_1.4-2.zip'
Content type 'application/zip' length 5394273 bytes (5.1 MB)
downloaded 5.1 MB
package ‘rugarch’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\stef info\AppData\Local\Temp\RtmpwpRxtB\downloaded_packages
''
If RStudio says the package is successfully installed, then, Can you clarify what your installation problem is? Aren't you able to load the package? If so, please post the corresponding error message.
When i I library the package "rugarch", the rstudio showed: "Le chargement a nécessité le package : parallel
Error: package or namespace load failed for ‘rugarch’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
aucun package nommé ‘expm’ n'est trouvé"
I successfully downloaded the rugarch package, thank you.
Please did you have any idea how we can solve this problem: "Error in if (model[i] > 0) { : missing value where TRUE/FALSE needed"