Java Mailing List Archive

http://www.r-help.com/

Home » R Help for Statistical Computing »

Re: [R] automated library location

R. Michael Weylandt

2012-01-28

Replies: Find Java Web Hosting

Author LoginPost Reply
? libPaths
? .Library

Not sure how easily that gets to your makefile though.

Michael

On Fri, Jan 27, 2012 at 7:35 PM, Matyas Sustik <msustik@(protected):
> 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@(protected)
> 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.

______________________________________________
R-help@(protected)
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.
©2008 r-help.com - Jax Systems, LLC, U.S.A.