Re: [Rd] Minor feature request: Let 'R CMD co*nfig' tell me where the INCLDIR is

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Fri, 17 Oct 2008 10:09:42 +0200

>>>>> "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.



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 17 Oct 2008 - 08:13:34 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 Mon 20 Oct 2008 - 07:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive