Hi All, Is there a way to find out the R library location that I could use in a script or Makefile? For example for octave the mkoctfile compiler has the following feature:
Well? > mkoctfile -p LFLAGS -L/usr/lib/octave-3.2.4 This is quite useful to be used in Makefiles. I am compiling a dynamic object to be used in R and my compile command has "-L/usr/lib/R/lib" in it. However, if this changes from distribution to distribution then hard coding it, is not optimal. Thanks! -Matyas ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.