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.ga...@gmail.com] 
Sent: 22 January 2016 11:37
To: Tom Quarendon <tom.quaren...@teamwpc.co.uk>
Cc: r-devel@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.quaren...@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@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to