RUGARCH Not properly installing :(

Hello everyone, thanks for this space of great knowledge.
Could you please help me install and run RUGARCH? Please look at the following code.

Thanks a lot!

########################################################
CODE:
########################################################

install.packages("parallel")
library(parallel)

install.packages("DistributionUtils")
library(DistributionUtils)

install.packages("expm")
library(expm)

install.packages("rugarch")
library(rugarch)

########################################################
CONSOLE RESULT:
########################################################

install.packages("parallel")
Installing package into ‘...’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘parallel’ is a base package, and should not be updated
library(parallel)

install.packages("DistributionUtils")
Installing package into ‘...’
(as ‘lib’ is unspecified)
trying URL '...'
Content type 'application/zip' length 199549 bytes (194 KB)
downloaded 194 KB

package ‘DistributionUtils’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Mauricio\AppData\Local\Temp\RtmpINTdzK\downloaded_packages

library(DistributionUtils)

install.packages("rugarch")
Installing package into ‘C:/Users/Mauricio/OneDrive - Hult Students/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
trying URL '...'
Content type 'application/zip' length 5610604 bytes (5.4 MB)
downloaded 5.4 MB

package ‘rugarch’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Mauricio\AppData\Local\Temp\RtmpINTdzK\downloaded_packages

library(rugarch)
Error: package or namespace load failed for ‘rugarch’ in namespaceExport(ns, exports):
undefined exports: solnp, gosolnp, startpars, benchmark, benchmarkids
install.packages("expm")
Installing package into ‘C:/Users/Mauricio/OneDrive - Hult Students/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
trying URL '.../expm_0.999-6.zip'
Content type 'application/zip' length 239228 bytes (233 KB)
downloaded 233 KB

package ‘expm’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Mauricio\AppData\Local\Temp\RtmpINTdzK\downloaded_packages

library(expm)
Loading required package: Matrix

Attaching package: ‘expm’

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

expm

library(rugarch)
Error: package or namespace load failed for ‘rugarch’ in namespaceExport(ns, exports):
undefined exports: solnp, gosolnp, startpars, benchmark, benchmarkids

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.