I am trying to install package , circular
, I get the below error during the installation.
I tried a few option that were suggested in a few posts but it didn't work. I also tried loading other packages such as spatstat
and this error doesn't occur while doing that.
Could anyone please assist me in resolving this issue.
You need a Fortran compiler to compile certain R packages. Install it with:
sudo apt-get install gfortran
The general idea is to install the (virtual) package r-base-dev
:
Depends: r-base-core (>= 3.2.5-1xenial), build-essential, gcc, g++,
gfortran, libblas-dev | libatlas-base-dev,
liblapack-dev | libatlas-base-dev, libncurses5-dev,
libreadline-dev, libjpeg-dev, libpcre3-dev, libpng-dev,
zlib1g-dev, libbz2-dev, liblzma-dev, cdbs
Suggests: debhelper, texlive-base, texlive-latex-base,
texlive-generic-recommended, texlive-fonts-recommended,
texlive-fonts-extra, texlive-extra-utils,
texlive-latex-recommended, texlive-latex-extra, texinfo
which groups a number of things you need for package building. Including, as you can see, the Fortran compiler.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With