Rblpapi - Error - r

I use Rblpapi package on a PC at work. I've tried to install it on my Mac at home, however, I get the below error. I'm not sure what the problem is... all other packages work. Any suggestions?
library(Rblpapi)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Users/wg/Library/R/3.3/library/Rblpapi/libs/Rblpapi.so':
dlopen(/Users/wg/Library/R/3.3/library/Rblpapi/libs/Rblpapi.so, 6): Library not loaded: #rpath/libblpapi3_64.so
Referenced from: /Users/wg/Library/R/3.3/library/Rblpapi/libs/Rblpapi.so
Reason: image not found
Error: package or namespace load failed for ‘Rblpapi’

Related

How to solve error when loading tidycensus library

I have a Mac with MacOS Big Sur 11.2.3. I try to use the tidycensus library:
library(tidycensus)
But I get the following error:
Error: package or namespace load failed for ‘tidycensus’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/rgdal/libs/rgdal.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/rgdal/libs/rgdal.so, 6): Library not loaded: /usr/lib/libpq.5.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rgdal/libs/rgdal.so
Reason: image not found
What should I do?

What does this error mean while starting package "export" in R?

I get this error when starting the export package in R. It seems to download successfully, but when library(export) is run, I get this message:
Error: package or namespace load failed for ‘export’ in dyn.load(file,
DLLpath = DLLpath, ...): unable to load shared object
/Library/Frameworks/R.framework/Versions/3.5/Resources/library/gdtools/libs/gdtools.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/gdtools/libs/gdtools.so,
6): Library not loaded: /opt/X11/lib/libcairo.2.dylib Referenced
from:
/Library/Frameworks/R.framework/Versions/3.5/Resources/library/gdtools/libs/gdtools.so
Reason: image not found
Thanks for your help!

Error: in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object

I'm trying to load a package I have installed via Bioconductor (using BiocLite()) as I have done with many other similar packages from the same source. However I get this error:
[Error: package or namespace load failed for 'GenomicFeatures' in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Users/mario/Library/R/3.4/library/rtracklayer/libs/rtracklayer.so':
dlopen(/Users/mario/Library/R/3.4/library/rtracklayer/libs/rtracklayer.so, 6): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /Users/mario/Library/R/3.4/library/rtracklayer/libs/rtracklayer.so
Reason: image not found]
If I try to install and load library rtracklayer I get the same message
I've tried reading to answers for similar questions on the site but I still can't figure out what the problem is.
Any suggestions?

rgl install failure in Rstudio on mac

rgl installed
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.3/Resources/library/rgl/libs/rgl.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rgl/libs/rgl.so, 6): Library not loaded: /opt/X11/lib/libGLU.1.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.3/Resources/library/rgl/libs/rgl.so
Reason: image not found
Warning message:
In pacman::p_load(rgl) : Failed to install/load:
rgl
You don't really post a question (hence the negative scores others have given you), but it appears that the error message is telling you that rgl is failing to load because libGLU.1.dylib is not found.
You can probably fix this by installing XQuartz, since it looks like you're on a Mac. Go to https://www.xquartz.org to get it.

Rugarch Package on R don't load on mac laptop

I am having problems loading rugarch package on R and I really need that package for my thesis.
I have no problem installing it. But when I try to load it I receive the following error message:
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.3/Resources/library/rgl/libs/rgl.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rgl/libs/rgl.so, 6): Library not loaded: /opt/X11/lib/libGLU.1.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.3/Resources/library/rgl/libs/rgl.so
Reason: image not found
Error: package or namespace load failed for ‘rugarch’
Any suggestions ?
Any help would be appreciated.
This answer is a bit late but for other people searching for a solution. The solution that worked for me is to download and install XQuartz https://www.xquartz.org onto your Mac.
See Stackoverflow answers here and here

Resources