Unable to load rjags - jags

I'm having the following error when trying to load rjags. I recently upgraded to OSX El Capitain and also installed the latest version of JAGS 4.0.1. Does any one know how to fix it?
library(rjags)
Error : .onLoad failed in loadNamespace() for 'rjags', details:
call: dyn.load(file)
error: unable to load shared object '/usr/local/lib/JAGS/modules-3/bugs.so':
dlopen(/usr/local/lib/JAGS/modules-3/bugs.so, 6): Symbol not found: _R_finite
Referenced from: /usr/local/lib/JAGS/modules-3/bugs.so
Expected in: /usr/local/lib/libjrmath.0.dylib
in /usr/local/lib/JAGS/modules-3/bugs.so
Error: package or namespace load failed for ‘rjags’

I found a solution by installing the development version of the rjags package.
http://sourceforge.net/projects/mcmc-jags/files/rjags/4/

Related

Error: package or namespace load failed for ‘glmmTMB’

I am trying to use package glmmTMB. When I call library(glmmTMB) this is the error message:
">library(glmmTMB)
Error: package or namespace load failed for ‘glmmTMB’ in inDL(x, as.logical(local), as.logical(now), ...):
function 'Rcpp_precious_remove' not provided by package 'Rcpp'
In addition: Warning messages:
1: package ‘glmmTMB’ was built under R version 4.0.5
2: In checkMatrixPackageVersion() :
Package version inconsistency detected.
TMB was built with Matrix version 1.3.4
Current Matrix version is 1.2.18
Please re-install 'TMB' from source using install.packages('TMB', type = 'source') or ask CRAN for a binary version of 'TMB' matching CRAN's 'Matrix' package
I have tried using install.packages('TMB', type = 'source') with no luck. Any ideas?
It's a FAQ -- search for 'Rcpp_precious_remove' not provided by package 'Rcpp'.
In short you are mixing a NEWER compilatio nof something that was built with Rcpp 1.0.7 present with an older installed version which lacks the symbol.
Fix: install.packages("Rcpp") to get the newer Rcpp. And I generally recommend regular update.packages() runs to avoid these issues.

How do I resolve errors for android studio code

Android Studio Error Log:
ERROR: Unable to resolve dependency for ':app#debug/compileClasspath': Could not resolve com.android.support:appcompat-v7:29.1.1.
ERROR: Unable to resolve dependency for ':app#debug/compileClasspath': Could not resolve com.android.support:design:29.1.1.
ERROR: Unable to resolve dependency for ':app#debugAndroidTest/compileClasspath': Could not resolve com.android.support:appcompat-v7:29.1.1.
ERROR: Unable to resolve dependency for ':app#debugAndroidTest/compileClasspath': Could not resolve com.android.support:design:29.1.1.
ERROR: Unable to resolve dependency for ':app#debugUnitTest/compileClasspath': Could not resolve com.android.support:appcompat-v7:29.1.1.
ERROR: Unable to resolve dependency for ':app#debugUnitTest/compileClasspath': Could not resolve
This is simply because there is no Support library version 29.1.1 yet. The latest version is 28.0.0 see the Recent Support Library Revisions. You need to migrate to androidX to use the latest changes of Android support libraries.

Unable to run a QMediaPlayer based application

I've created a virtual machine with a fresh install of Ubuntu 14.04.5 LTS (Trusty Tahr), then I've installed Qt 5.8. The arch is x64.
I've tried to execute the following example:
http://doc.qt.io/qt-5/qtmultimedia-multimediawidgets-player-example.html, the result is the error:
defaultServiceProvider::requestService(): no service found for -
"org.qt-project.qt.mediaplayer"
I've enabled the QT_DEBUG_PLUGINS=1 variable and seen that:
Got keys from plugin meta data ("gstreamermediaplayer")
QFactoryLoader::QFactoryLoader() checking directory path "/home/user/QtWorkspace/bin/mediaservice" ...
Cannot load library /home/user/Qt/5.8/gcc_64/plugins/mediaservice/libgstmediaplayer.so: (/home/user/Qt/5.8/gcc_64/plugins/mediaservice/../../lib/libqgsttools_p.so.1: undefined symbol: _gst_value_list_type)
QLibraryPrivate::loadPlugin failed on "/home/user/Qt/5.8/gcc_64/plugins/mediaservice/libgstmediaplayer.so" : "Cannot load library /home/user/Qt/5.8/gcc_64/plugins/mediaservice/libgstmediaplayer.so: (/home/user/Qt/5.8/gcc_64/plugins/mediaservice/../../lib/libqgsttools_p.so.1: undefined symbol: _gst_value_list_type)"
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
What is the cause of the "libqgsttools_p.so.1: undefined symbol: _gst_value_list_type" error? Why this mismatch? Is it possible that QtMultimedia does not support GStreamer 1.0 (Trusty comes with GStreamer 1.2.4 installed)?

Warning: Error: dyld: lazy symbol binding failed: Symbol not found: _objc_autoreleasePoolPush

I'm getting an error when imagemin is run on png : Warning: Error: dyld: lazy symbol binding failed: Symbol not found: _objc_autoreleasePoolPush
i'm on a macbook pro 10.6.8
I installed grunt today along with the plugin's
Any help would be wonderful as google is pointing me to IOS development issues.
The binary is compiled for a newer version of the OS (you're now 4 major releases behind — upgrade if you can!)

node-opencv / mavericks : dyld: Symbol not found

I'm running a clean install of OSX 10.9 and running into issues running any node.js app with node-opencv dependencies. I've already installed opencv, python, node.js, and npm via Homebrew.
In this case, I'm trying to run: node face_detection.js from the examples folder, and I'm getting this error:
dyld: lazy symbol binding failed: Symbol not found: __ZN2cv6imreadERKSsi
Referenced from: /Users/Jim/GitHub/node-opencv/build/Release/opencv.node
Expected in: dynamic lookup
dyld: Symbol not found: __ZN2cv6imreadERKSsi
Referenced from: /Users/Jim/GitHub/node-opencv/build/Release/opencv.node
Expected in: dynamic lookup
Trace/BPT trap: 5
Whatever the cause was, I had the same problem and solved it by upgrading to the latest homebrew distribution of opencv.

Resources