How to Configure R-3.0.1 with --Enable-R-Shlib

How to configure R-3.1.2 with --enable-R-shlib

make uninstall only undoes the make install step, which generally copies the files from the compilation dir to dir(s) on the system as appropriate, and puts binaries in say /usr/bin so they are on the path. If you wanted to clean up the dir where you did a previous compile, use make clean (or make distclean, I forget what the difference is now as far as R is concerned but convention is that it should return the build dir to pre-configure, pre-build state.).

You also, in general, don't want to be building in the dir which contains the R sources (which ./configure suggests you are doing).

Compile r with mkl (With mulithreads support)

A complete tutorial is available here:

https://software.intel.com/en-us/articles/build-r-301-with-intel-c-compiler-and-intel-mkl-on-linux

or simply using:

http://mran.revolutionanalytics.com/download/

Cannot load rJava because cannot load a shared library

Following up on some of Dirk's sage advice:

  • Your path should probably say C:\Program Files\Java\jre6\bin\ (remove "client").
  • Your path should also have C:\Program Files\R\R-2.10.1\bin\. You don't need that explicit reference to the rJava libs. I would also then remove C:\Program Files\R from the path.
  • Lastly, confirm that Java is accessible by either going to your command prompt and typing java -version, or from within R by typing system("java -version").
  • If you install the SDK, then you will also want a system variable JAVA_HOME which in my case points to C:\Sun\SDK\.


Related Topics



Leave a reply



Submit