Error in loading SummarizedExperiment
1
0
Entering edit mode
2.5 years ago

Hi all

Before using DESeq2, I have to install SummarizedExperiment package before.

But I load it, I get the below error message.

This is my first time to use R in Mac. I tried many ways to solve this problem, but they don't work, including re-downloading DESeq2 and restarting my computer and downloading gfortran and XQuartz.

Error: package or namespace load failed for ‘SummarizedExperiment’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/DelayedArray/libs/DelayedArray.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/DelayedArray/libs/DelayedArray.so, 0x0006): Library not loaded: '/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libR.dylib'
Referenced from: '/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/DelayedArray/libs/DelayedArray.so'

Reason: tried: '/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libR.dylib' (no such file), '/usr/local/lib/libR.dylib' (no such file), '/usr/lib/libR.dylib' (no such file)

Any thoughts?

DESeq2 Mac R SummarizedExperiment • 3.1k views
ADD COMMENT
0
Entering edit mode

Is this via RStudio? Does the same happen if you do it via the R console? So open a terminal, type R and then enter this? It seems it is looking for this library in the wrong place (in the 4.2 R folder rather than 4.3). What is the output of .libPaths()? The hard solution is probably to remove /Library/Frameworks/R.framework/ entirely and then install R freshly from scratch. When you say first time does that mean that R 4.2 has never been installed on this Mac before?

ADD REPLY
0
Entering edit mode

Thank you for helping. Yes it's via RStudio and it happens when I use R console. I had tried to remove the entire R framework and reinstall R and RStudio, but nothing changed. The first time means R 4.2 was never used on this Mac.

> .libPaths()
[1] "/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library"

enter image description here enter image description here enter image description here enter image description here

ADD REPLY
0
Entering edit mode
2.4 years ago

https://ask.csdn.net/questions/7936084?spm=1001.2014.3001.5501

problem solved, go to see that👆

ADD COMMENT

Login before adding your answer.

Traffic: 4236 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6