I am a bit confused on how to set R (via compilation) as a shared library.
Instructions here ( Rpy2 ) that I should do the following:
# <go to the R source directory> make distclean ./configure --enable-R-shlib make make install
but the first make ( make distclean ) will remove any previous R installation under the same directory tree (for example, the contents of the bin folder).
What if I want to use the same setup for the R interpreter and shared libraries? For example, let's say I want to use an interpreter to install R packages, and then a shared installation library to call R (and these packages) from Rpy2.
Otherwise, how can I install R packages for use through Rpy2?
Amelio vazquez-reina
source share