Skip to content
Prev 51470 / 63421 Next

Return options used to configure R

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:
Message-ID: <AM2PR05MB0771B98096C007332D03FA09B0C40@AM2PR05MB0771.eurprd05.prod.outlook.com>
In-Reply-To: <CABtg=KmCt8Z-7QD7dB0m+HUQ2T+YRp8wUEqaGOLGdg4MHrvjCg@mail.gmail.com>