I am new to this forum and its my first question. I am stuck with a task to configure a pipeline on a machine running Ubuntu 12.04 and few of the requirements for this are R version > 3, rpy2. I have been trying to configure rpy2 package. It comes up with this error message.
running build_ext
"/usr/local/lib64/R/bin/R" CMD config --ldflags
R was not built as a library
Invalid substring
in string
Problem while running:
"/usr/local/lib64/R/bin/R" CMD config --ldflags
running install
running build
running build_py
running build_ext
"/usr/local/lib64/R/bin/R" CMD config --ldflags
R was not built as a library
Invalid substring
in string
Problem while running:
"/usr/local/lib64/R/bin/R" CMD config --ldflags
I have tried following Installing python module "rpy2" after installing Enthought Canopy but even that did not work.
I am running R version 3.0.1 and python 2.7.3.
I have tried installing python3 as well. Have tried recompiling R. But they dot seem to work.
Any suggestions would be appreciated. Thank you.
The key part in the error message is:
This other SO question might be worth a look.