Entering edit mode
4.2 years ago
zizigolu
★
4.3k
Hello
I have been trying to install qgraph R package on Mac, even I have updated the OS but still not working
who knows the solution please
library(qgraph)
package ‘qgraph’ was built under R version 4.0.2Error: package or namespace load failed for ‘qgraph’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so, 6): Symbol not found: _EXTPTR_PTR
Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so
Expected in: /Library/Frameworks/R.framework/Resources/lib/libR.dylib
in /Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so
>
Hi,
Did you try to install the package with
devtools
?This is the developmental version.
devtools
will deal better with the missing dependencies. From the error that you've posted, it seems that you don't haveqgraph
installed. So, installing this package before trying to installigraph
might solve the issue. Although you might get other errors related with other missing packages. Try withdevtools
and let me know if worked.António
Installation goes fine but loading the library returns error
Yes, I see the problem
qgraph
requires R version less than4.0.2
. So, it can not load the package.Can you try to load the
qgraph
package:library(qgraph)
. If the error persists, try to install this package with the development version throughdevtools
:devtools::install_github("SachaEpskamp/qgraph")
.A : Has @antonioggsousa's comment solved this issue? If so I can move his comment to an answer.
Thank you I have not tried that yet I would let you know soon