2

One could install Rsymphony by doing:

apt-get install r-cran-rsymphony

But that is an old version. When trying to install the latest (from within R), one get:

* installing *source* package ‘Rsymphony’ ...
** package ‘Rsymphony’ successfully unpacked and MD5 sums checked
Cannot find SYMPHONY libraries and headers.
See <https://projects.coin-or.org/SYMPHONY>.
ERROR: configuration failed for package ‘Rsymphony’

How to install the latest Rsymphony package?

2
  • 1
    The documentation says it needs "SYMPHONY libraries and headers" - these appear to be provided by the coinor-libsymphony-dev package - did you install it? Jun 11, 2017 at 12:22
  • Indeed, sudo apt-get install coinor-libsymphony-dev fixed it!
    – user2413
    Jun 11, 2017 at 15:16

1 Answer 1

4

The Rsymphony documentation indicates that it needs SYMPHONY libraries and headers:

NeedsCompilation:     yes 
SystemRequirements:   SYMPHONY libraries and headers

In Ubuntu, these appear to be provided by the coinor-libsymphony-dev package. Installing that, either using your favorite GUI package manager or from the command line using

sudo apt install coinor-libsymphony-dev

should solve the issue.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .