dyld: Library not loaded: /usr/local/opt/openblas/lib/libopenblasp-r0.2.20.dylib : <p>When I run <code>R</code> I get:</p>

<pre><code>dyld: Library not loaded: /usr/local/opt/openblas/lib/libopenblasp-r0.2.20.dylib
  Referenced from: /usr/local/Cellar/r/3.5.0_1/lib/libR.dylib
  Reason: image not found
Abort trap: 6
</code></pre>

<p>Indeed the file is absent:</p>

<pre><code>ls /usr/local/opt/openblas/lib/libopenblasp-r0.2.20.dylib
ls: cannot access '/usr/local/opt/openblas/lib/libopenblasp-r0.2.20.dylib': No such file or directory
</code></pre>

<p>I'm on macOS 10.13.3 and used <a href="https://brew.sh/" rel="noreferrer">homebrew</a> to install R like this:</p>

<pre><code># Java
brew cask install java

# OpenBLAS (installs gcc and other dependencies)
brew install openblas

# R language for statistical computing
brew install r --with-openblas --with-java

# Install XQuartz, needed for R package "Cairo"
brew cask install xquartz

# Needed for R package "RMySQL"
brew install mariadb-connector-c

# Needed for R packages: udunits2, units, ggforce
brew install udunits
</code></pre>
