Skip to content
Back to formatted view

Raw Message

Message-ID: <C864D5CA-4F81-4110-A266-5B31304510F2@gmail.com>
Date: 2016-01-21T14:34:33Z
From: Donglei Du
Subject: error in loading rugarch package

Any help with the following issues is greatly appreciated. I am running R on a Mac computer rather than a Windows one.


Donglei Du

Was able to install the 'rugarch? from CRAN without error/warning, but has the following loading error when calling 

library("rugarch")


Error : .onLoad failed in loadNamespace() for 'rgl', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.2/Resources/library/rgl/libs/rgl.so':
  dlopen(/Library/Frameworks/R.framework/Versions/3.2/Resources/library/rgl/libs/rgl.so, 6): Library not loaded: /opt/X11/lib/libGLU.1.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/3.2/Resources/library/rgl/libs/rgl.so
  Reason: image not found
Error: package or namespace load failed for ?rugarch?