[R-SIG-Mac] Garch Model Library on Mac

David Winsemius dwinsemius at comcast.net
Wed Nov 30 17:30:10 CET 2016


Copying back to the list. (You should now read the Posting Guide which says you should post in plain text rather than in HTML and copy the list rather than responding only to an individual.)


> On Nov 30, 2016, at 4:59 AM, Josh C Chien <jcchien at me.com> wrote:
> 
> David,
> thanks for your feedback.
> Below is my R sessionInfo.
> 
> > sessionInfo()
> R version 3.3.1 (2016-06-21)
> Platform: x86_64-apple-darwin15.0.0 (64-bit)
> Running under: OS X 10.12.2 (Sierra)
> 
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
> 
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base     
> 
> loaded via a namespace (and not attached):
> [1] RevoUtils_10.0.1 tools_3.3.1     

So is this the Revolution R (aka Microsoft R) installation? (You are asked to provide complete details on your installation.)

> 
> When I type install.packages("rugarch"),

So it doesn't look like this was an attempt to install from source what follows certainly looks like a source install with an incompletely configured system, but I don't know how RevoR operates.


> Get below warning messages.
> How to fix this that so that I can run this library ?
> 
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':

You didn't answer the question about whether you had a recent version of XQuartz. Please go back to my first message and fill in all the gaps about this question and the other questions.


-- 
David.

>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> * installing *source* package ‘truncnorm’ ...
> ** package ‘truncnorm’ successfully unpacked and MD5 sums checked
> ** libs
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> ERROR: compilation failed for package ‘truncnorm’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/truncnorm’
> Warning in install.packages :
>   installation of package ‘truncnorm’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> * installing *source* package ‘mvtnorm’ ...
> ** package ‘mvtnorm’ successfully unpacked and MD5 sums checked
> ** libs
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> ERROR: compilation failed for package ‘mvtnorm’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/mvtnorm’
> Warning in install.packages :
>   installation of package ‘mvtnorm’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> * installing *source* package ‘rgl’ ...
> ** package ‘rgl’ successfully unpacked and MD5 sums checked
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> checking for gcc... gcc
> checking whether the C compiler works... no
> configure: error: in `/private/var/folders/vs/tv8qhwdn4r58jtlc9yhmz35m0000gp/T/RtmpMJzLEr/R.INSTALL30e397cf165/rgl':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> ERROR: configuration failed for package ‘rgl’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/rgl’
> Warning in install.packages :
>   installation of package ‘rgl’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> * installing *source* package ‘DistributionUtils’ ...
> ** package ‘DistributionUtils’ successfully unpacked and MD5 sums checked
> ** libs
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> ERROR: compilation failed for package ‘DistributionUtils’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/DistributionUtils’
> Warning in install.packages :
>   installation of package ‘DistributionUtils’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> * installing *source* package ‘nloptr’ ...
> ** package ‘nloptr’ successfully unpacked and MD5 sums checked
> checking for g++... g++
> checking whether the C++ compiler works... no
> configure: error: in `/private/var/folders/vs/tv8qhwdn4r58jtlc9yhmz35m0000gp/T/RtmpXw88Im/R.INSTALL3dd6fd49019/nloptr':
> configure: error: C++ compiler cannot create executables
> See `config.log' for more details
> ERROR: configuration failed for package ‘nloptr’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/nloptr’
> Warning in install.packages :
>   installation of package ‘nloptr’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> * installing *source* package ‘zoo’ ...
> ** package ‘zoo’ successfully unpacked and MD5 sums checked
> ** libs
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> ERROR: compilation failed for package ‘zoo’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/zoo’
> Warning in install.packages :
>   installation of package ‘zoo’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> * installing *source* package ‘chron’ ...
> ** package ‘chron’ successfully unpacked and MD5 sums checked
> ** libs
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> ERROR: compilation failed for package ‘chron’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/chron’
> Warning in install.packages :
>   installation of package ‘chron’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> * installing *source* package ‘expm’ ...
> ** package ‘expm’ successfully unpacked and MD5 sums checked
> ** libs
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> ERROR: compilation failed for package ‘expm’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/expm’
> Warning in install.packages :
>   installation of package ‘expm’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> * installing *source* package ‘Rcpp’ ...
> ** package ‘Rcpp’ successfully unpacked and MD5 sums checked
> ** libs
> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
> ERROR: compilation failed for package ‘Rcpp’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/Rcpp’
> Warning in install.packages :
>   installation of package ‘Rcpp’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> ERROR: dependency ‘Rcpp’ is not available for package ‘multicool’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/multicool’
> Warning in install.packages :
>   installation of package ‘multicool’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> ERROR: dependency ‘DistributionUtils’ is not available for package ‘GeneralizedHyperbolic’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/GeneralizedHyperbolic’
> Warning in install.packages :
>   installation of package ‘GeneralizedHyperbolic’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> ERROR: dependency ‘truncnorm’ is not available for package ‘Rsolnp’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/Rsolnp’
> Warning in install.packages :
>   installation of package ‘Rsolnp’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> ERROR: dependency ‘zoo’ is not available for package ‘xts’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/xts’
> Warning in install.packages :
>   installation of package ‘xts’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> ERROR: dependency ‘Rcpp’ is not available for package ‘RcppArmadillo’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/RcppArmadillo’
> Warning in install.packages :
>   installation of package ‘RcppArmadillo’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> ERROR: dependencies ‘mvtnorm’, ‘rgl’, ‘multicool’ are not available for package ‘ks’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/ks’
> Warning in install.packages :
>   installation of package ‘ks’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> ERROR: dependencies ‘DistributionUtils’, ‘GeneralizedHyperbolic’ are not available for package ‘SkewHyperbolic’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/SkewHyperbolic’
> Warning in install.packages :
>   installation of package ‘SkewHyperbolic’ had non-zero exit status
> Warning message:
> In doTryCatch(return(expr), name, parentenv, handler) :
>   unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
>   dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
>   Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
>   Expected in: flat namespace
>  in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
> ERROR: dependencies ‘Rsolnp’, ‘nloptr’, ‘ks’, ‘xts’, ‘zoo’, ‘chron’, ‘SkewHyperbolic’, ‘expm’, ‘Rcpp’, ‘RcppArmadillo’ are not available for package ‘rugarch’
> * removing ‘/Users/joshcchien/Library/R/3.3/library/rugarch’
> Warning in install.packages :
>   installation of package ‘rugarch’ had non-zero exit status
> 
> The downloaded source packages are in
>     ‘/private/var/folders/vs/tv8qhwdn4r58jtlc9yhmz35m0000gp/T/Rtmpw48bcl/downloaded_packages’
> 
> -- 
> Josh Chien
> Sent from my MacBook Pro
> Telegram @joshchien
> 

David Winsemius
Alameda, CA, USA



More information about the R-SIG-Mac mailing list