From tom.quarendon at teamwpc.co.uk  Fri Jan 22 14:07:53 2016
From: tom.quarendon at teamwpc.co.uk (Tom Quarendon)
Date: Fri, 22 Jan 2016 13:07:53 +0000
Subject: [Rd] Return options used to configure R
In-Reply-To: <22178.7026.148605.737263@max.nulle.part>
References: <955E076F-AEAE-4BE0-9E10-FEEB6151A710@teamwpc.co.uk>
	<CABtg=KmCt8Z-7QD7dB0m+HUQ2T+YRp8wUEqaGOLGdg4MHrvjCg@mail.gmail.com>
	<AM2PR05MB0771B98096C007332D03FA09B0C40@AM2PR05MB0771.eurprd05.prod.outlook.com>
	<22178.7026.148605.737263@max.nulle.part>
Message-ID: <AM2PR05MB077161748C5E015304292465B0C40@AM2PR05MB0771.eurprd05.prod.outlook.com>

I did have a search, but searching for "configure" just brought up loads of results for how to configure R.
I'm sure it is in the manual, once you know where to look for it and if you know all the manuals inside out.

Looking at the help for R CMD config, it's not actually clear that these relate to the options specified on configure, and it doesn't tell you things like --enable-R-shlib, or --prefix etc. 

Anyway, thanks for the info. The Makeconf file is what I want. At least on Linux, doesn't appear to exist on our OSX installation, but we probably installed that from a pre-built package. Ditto Windows.

-----Original Message-----
From: Dirk Eddelbuettel [mailto:edd at debian.org] 
Sent: 22 January 2016 12:07
To: Tom Quarendon <tom.quarendon at teamwpc.co.uk>
Cc: G?bor Cs?rdi <csardi.gabor at gmail.com>; r-devel at r-project.org
Subject: Re: [Rd] Return options used to configure R


On 22 January 2016 at 11:40, Tom Quarendon wrote:
| So in English what you are saying is that there's a file called Makeconf in the etc directory under the R_HOME that contains the information.
| That certainly seems to be true for Linux. 

And Debian / Ubuntu have a convenience softlink to make this /etc/R/

Also note that 'R CMD config varname' extracts each of these values from the command-line, rather than R.  And all of this is in the fine manuals you are cordially invited to peruse at your lesiure ...

Dirk

--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



[Rd] Return options used to configure R
Tom Quarendon