[Rd] Return options used to configure R

Gábor Csárdi csardi.gabor at gmail.com
Fri Jan 22 12:45:52 CET 2016


It is also true for OSX. Windows is somewhat different, take a look at
the files in R_HOME/etc.

Gabor

On Fri, Jan 22, 2016 at 11:40 AM, Tom Quarendon
<tom.quarendon at teamwpc.co.uk> 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.
> 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



More information about the R-devel mailing list