R package requiring dll - r

I am now trying to use an R package named gepR. I followed instructions provided by the demo and encountered an error saying that: LoadLibrary failure: the specified module could not be found.
I have tried many solutions posted online, including edit environment variable of the system, put gepR.dll in the system directory (like C:/Windows/system), etc. But none of them works. So I think the error message is not about gepR.dll but some other files. I realized it may be caused by some missing files but I am not sure about how to do the troubleshooting.
Error message:
Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared object: .../my/working/directory:
LoadLibrary failure: the specified module could not be found.
Really sorry that I know merely a little about how computers work and really need your help. Thanks!

Related

using Xpress failed

when I type using Xpress it show me two errors. One is
LoadError: XPRESS cannot be loaded. Please run Pkg.build("Xpress")
and another is
Failed to precompile Xpress [9e70acf3-d6c9-5be6-b5bd-4e2c73e3e054] to C:\Users\cys\.julia\compiled\v1.6\Xpress\jl_7C6D.tmp.
I tried to solve it by Pkg.build("Xpress") but it show me
ERROR: Error building `Xpress`:
ERROR: LoadError: Unable to locate Xpress installation.
Please check your enviroment variable XPRESSDIR.
Note that Xpress must be obtained separately from fico.com.
using XpressPkg.build("Xpress")
Please follow the installation instructions mentioned here: https://github.com/jump-dev/Xpress.jl#install which go into the perquisites installs required before you can successfully type using Xpress.

Cannot load .so file in R

I have been trying to load a shared object file ".so" into my R however it continuously comes up with an error (note, my Path is written as [PATH]).
Error in dyn.load("McCOIL_categorical_code.so") :
unable to load shared object '[PATH]/McCOIL_categorical_code.so':
dlopen([PATH]/McCOIL_categorical_code.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/3.2/Resources/lib/libR.dylib
Referenced from: [PATH]/McCOIL_categorical_code.so
Reason: image not found
Could anyone please advise? Thank you so much in advance!!

Shiny error after packages update: Unknown `composition` type

After some packages update, I'm no longer able to start my shiny application. The error I'm receiving it's not very clear:
Warning: Error in : Internal error: Unknown composition type. 69:
Error : Internal error: Unknown composition type.
I'm quite sure that this error is related to some update as, the same application works fine within another machine with the same R version (4.0) and the same Shiny version (booth are MACos).
Do some of you know how to trouble-shooting this?

Authentication issue with R's bigrquery

This post makes it clear that the function bq_auth() should be used to authenticate BigQuery in R. However, I have created a BigQuery-Admin service account, downloaded a service account key, and have passed that key into the bq_auth() function, yet I continue to receive the error:
> bigrquery::bq_auth(path = '/Users/nicholas/Downloads/just_downladed_this_key.json')
trying token_fetch()
trying credentials_service_account()
adding 'userinfo.email' scope
Error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so, 6): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so
Reason: image not found
trying credentials_app_default()
file exists at ADC path: /Users/nicholas/.config/gcloud
Error: parse error: premature EOF
(right here) ------^
trying credentials_gce()
Error: argument is of length zero
trying credentials_byo_oauth()
Error: inherits(token, "Token2.0") is not TRUE
trying credentials_user_oauth2()
Gargle2.0 initialize
attempt from: bigrquery
adding 'userinfo.email' scope
loading token from the cache
Error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so, 6): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/openssl/libs/openssl.so
Reason: image not found
It looks like I've got an openssl / libssl issue on my hands...
Reinstalling the openssl library in R, and then rebooting R, did the trick. Running options(gargle_quiet = FALSE) to expose the logs of the error is what really did the trick tho, because it exposed the problem.

Reference to System.dll is declared but not found - how to solve?

I'm trying so solve a Warning in an old asp.net Webapplication.
The warning Shows:
The Reference of Type System.Collections.Generic.ISet´1 is declared in "c:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" , but couldn't found
Data: System.Core.dll
All the Files are in the folders. I dont know what it means and how I should solve that warning. Anybody got a clue?

Resources