Question: (Closed) Error while running R from command line.
gravatar for jaqx008
20 months ago by
jaqx00870 wrote:

Hi everyone, My R was working just fine on my command line until I tried to upgrade it with brew so I can install an R package that wasnt getting installed. After I upgraded r using brew upgrade r I encountered this error when I tried to call r again after the upgrade and I am not sure whats going on or how to return it back to how it was. will appreciate your help.

$ r

dyld: Library not loaded: /usr/local/opt/gcc/lib/gcc/7/libgfortran.4.dylib Referenced from: /usr/local/Cellar/r/3.4.3/lib/libR.dylib Reason: image not found Trace/BPT trap: 5

ADD COMMENTlink modified 20 months ago by manuel.belmadani1.2k • written 20 months ago by jaqx00870

Hello jaqx008!

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

Not a bioinformatics question, please search StackOverflow

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.


ADD REPLYlink written 20 months ago by RamRS30k
gravatar for manuel.belmadani
20 months ago by
manuel.belmadani1.2k wrote:

This looks like a Mac/OSX specific issue. The upgrade seems to have broken some existing packages, and often the best thing to do is to re-install from scratch. See these similar threads:

Try a complete uninstall of R, and then re-install. You may want to peek at your package install directory and make a list of packages you had to facilitate re-installing them (/usr/local/Cellar/r/<version>/R.framework/Resources/library, according to a comment from this since you can't load R anymore, replace <version> with the version you had.)

ADD COMMENTlink modified 20 months ago • written 20 months ago by manuel.belmadani1.2k

Sounds like a plan. Let me try this out

ADD REPLYlink written 20 months ago by jaqx00870
Please log in to add an answer.
The thread is closed. No new answers may be added.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1403 users visited in the last hour