Git Product home page Git Product logo

Comments (5)

kthohr avatar kthohr commented on June 12, 2024 1

You need gfortran v4.8; see here:

http://www.thecoatlessprofessor.com/programming/rcpp-rcpparmadillo-and-os-x-mavericks-lgfortran-and-lquadmath-error/

which is still relevant for El Capitan. Open terminal and run

curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /

from rcpparmadillo.

eddelbuettel avatar eddelbuettel commented on June 12, 2024

The error is right in front of you: you need to install the Fortran compiler or library (as we need to link to LAPACK which in turn requires Fortran)

ld: library not found for -lgfortran

Please see the OS X help for R -- there is a list or google it -- on this. I don't have an OS X machine, but I understand this be a FAQ. Worst case please subscribe to rcpp-devel and ask there.

from rcpparmadillo.

eddelbuettel avatar eddelbuettel commented on June 12, 2024

Yep, I just poked around on StackOverflow and here is one answer from there. Thanks to @kthohr for the link from @coatless.

from rcpparmadillo.

cripenam avatar cripenam commented on June 12, 2024

It works to some people if you install the Dev version:

install.packages("https://cran.r-project.org/src/contrib/Archive/RcppArmadillo/RcppArmadillo_0.9.900.3.0.tar.gz", repos=NULL, type="source")

from rcpparmadillo.

eddelbuettel avatar eddelbuettel commented on June 12, 2024

I am sorry but what value does that message add? We had three+ more releases since so 0.9.900.3.0 is outdated.

from rcpparmadillo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.