This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Why R does not recognise my R packages?

Hi,

Yesterday, graphical card of my mac failed so I connected MacintoshHD to a monitor by cable; Now, I can see I have limma and many other packages in /MacintoshHD/Library.Frameworks/ R.framework/Versions/3.5/Resources/Library address

But,

> library(igraph)
Error in library(igraph) : there is no package called ‘igraph’

> library(limma)
Error in library(limma) : there is no package called ‘limma’



Restarting R session...

Microsoft R Open 3.5.1
The enhanced R distribution from Microsoft
Microsoft packages Copyright (C) 2018 Microsoft Corporation

Multithreaded BLAS/LAPACK libraries detected. Using 2 cores for math algorithms.

Default CRAN mirror snapshot taken on 2018-08-01.
See: https://mran.microsoft.com/.

Warning message:
In doTryCatch(return(expr), name, parentenv, handler) :
  unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
  dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Library not loaded: /opt/X11/lib/libSM.6.dylib
  Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
  Reason: image not found

How I can recover my packages please?

Thank you

r software error

Hello Za!

We believe that this post does not fit the main topic of this site.

Not a bioinformatics question. Better ask https://stackoverflow.com/

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.