Re: [Rd] (PR#13165) R CMD config doesn't export JAVA_LD_LIBRARY_PATH

From: Prof Brian Ripley <>
Date: Wed, 15 Oct 2008 11:04:47 +0100 (BST)

The subject line is true, and as documented hence not a bug.

If this was meant to be an enhancement request, please note that the R FAQ said

   There is a section of the bug repository for suggestions for    enhancements for R labelled `wishlist'. Suggestions can be submitted    in the same ways as bugs, but please ensure that the subject line makes    clear that this is for the wishlist and not a bug report, for example by    starting with `Wishlist:'.

On Wed, 15 Oct 2008, wrote:

> R CMD config exports the following variables:
> JAR Java archive tool command
> JAVA Java interpreter command
> JAVAC Java compiler command
> JAVAH Java header and stub generator command
> JAVA_HOME path to the home of Java distribution
> JAVA_LIBS flags needed for linking against Java libraries
> JAVA_CPPFLAGS C preprocessor flags needed for compiling JNI programs
> JAVA_LD_LIBRARY_PATH is defined in Makeconf, but not exported.
> Specifically, src/scripts/config includes the following line:
> This list does not include JAVA_LD_LIBRARY_PATH, with no explanation of
> why not. Providing this env variable would allow developers to use RPATH
> instead of setting the LD_LIBRARY_PATH variable by hand before running R
> extensions that use Java.

What is RPATH? Since R and R CMD set a LD_LIBRARY_PATH that includes JAVA_LD_LIBRARY_PATH, this makes no sense to me: the documented way is to run extensions via loading into R or via R CMD.

If you can make a good case for changing this, please re-submit an enhancement request containing that case in the form described in the FAQ, giving your credentials (this email is from an unnamed account and unsigned: we have no idea who you are).

> --please do not edit the information below--
> Version:
> platform = x86_64-pc-linux-gnu
> arch = x86_64
> os = linux-gnu
> system = x86_64, linux-gnu
> status =
> major = 2
> minor = 7.1
> year = 2008
> month = 06
> day = 23
> svn rev = 45970
> language = R
> version.string = R version 2.7.1 (2008-06-23)
> Locale:
> Search Path:
> .GlobalEnv, package:stats, package:graphics, package:grDevices,
> package:utils, package:datasets, package:methods, Autoloads, package:base
> ______________________________________________
> mailing list

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Wed 15 Oct 2008 - 10:07:02 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 15 Oct 2008 - 12:30:21 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive