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

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

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

A one liner that should work on most systems:

grep("configure", readLines(file.path(R.home(), "etc", "Makeconf")), value=TRUE)

Gabor

On Thu, Jan 21, 2016 at 5:38 PM, Tom Quarendon <tom.quarendon at teamwpc.co.uk> wrote:
> Is there any way to print out the options that where passed to configure when R was built?
> I want to build a later version to the one I have on my machine, and I want to build it in the same way, with the same configure options.
>
> Thanks.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Return options used to configure R
Tom Quarendon