Dirk Eddelbuettel
2008-Oct-17 01:45 UTC
[Rd] Minor feature request: Let 'R CMD co*nfig' tell me where the INCLDIR is
On Debian / Ubuntu / ... we have [1] edd at ron:~> R CMD config --cppflags -I/usr/share/R/include edd at ron:~> but I seem to have no way to learn 'just' the /usr/share/R/include part from R CMD config. It would be nice if something like R CMD config R_INCL_DIR could be added as we do have 'LIBnn'. Obviously, this is nothing we need now before 2.8.0. But if it could get added to R-devel, I'd appreciate it. [ The context is that 'R CMD INSTALL' does fewer things than a few of us desired (as per a thread a few months ago) but seemingly nobody with the magic powers to change this feels the same way. ] Dirk [1] Old and boring story of show 'arch-independent' files like headers ended up in /usr/share omitted here. -- Three out of two people have difficulties with fractions.
Martin Maechler
2008-Oct-17 08:09 UTC
[Rd] Minor feature request: Let 'R CMD co*nfig' tell me where the INCLDIR is
>>>>> "DE" == Dirk Eddelbuettel <edd at debian.org> >>>>> on Thu, 16 Oct 2008 20:45:40 -0500 writes:DE> On Debian / Ubuntu / ... we have [1] DE> edd at ron:~> R CMD config --cppflags DE> -I/usr/share/R/include DE> edd at ron:~> Actually, on Ubuntu 8.04 (64-bit) I get MM at deb2:~$ /usr/bin/R CMD config --cppflags -I/usr/share/R/include -I/usr/share/R/include which has the -I<..> doubled, a slight infelicity ... Wonder how this came about. MM at deb2:~$ uname -a Linux deb2 2.6.24-19-generic #1 SMP Wed Jun 4 15:10:52 UTC 2008 x86_64 GNU/Linux This is - almost surely - the r-base-core package from CRAN. DE> but I seem to have no way to learn 'just' the /usr/share/R/include part from DE> R CMD config. It would be nice if something like DE> R CMD config R_INCL_DIR DE> could be added as we do have 'LIBnn'. Obviously, this is nothing we need now DE> before 2.8.0. But if it could get added to R-devel, I'd appreciate it. DE> [ The context is that 'R CMD INSTALL' does fewer things than a few of us DE> desired (as per a thread a few months ago) but seemingly nobody with the DE> magic powers to change this feels the same way. ] or has had time for it, at the time? Did you get reactions from R-core at all? Regards, Martin DE> Dirk DE> [1] Old and boring story of show 'arch-independent' files like headers ended DE> up in /usr/share omitted here.