From ripley at stats.ox.ac.uk  Thu May 18 08:24:08 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 18 May 2006 07:24:08 +0100 (BST)
Subject: [Rd] 'R CMD config' doesn't work on Windows
In-Reply-To: <m28xp0c8oy.fsf@ziti.fhcrc.org>
References: <20060517203730.3158DCD14@slim.kubism.ku.dk>
	<446B960B.6000204@fhcrc.org>
	<m2psiccoc1.fsf@ziti.fhcrc.org> <446BD7D6.1070702@stats.uwo.ca>
	<m28xp0c8oy.fsf@ziti.fhcrc.org>
Message-ID: <Pine.LNX.4.64.0605180719350.15879@gannet.stats.ox.ac.uk>

On Wed, 17 May 2006, Seth Falcon wrote:

> Duncan Murdoch <murdoch at stats.uwo.ca> writes:
>> What is "config"?
>
>    Usage: R CMD config [options] [VAR]
>
>    Get the value of a basic R configure variable VAR which must be
>    among those listed in the 'Variables' section below, or the header
>    and library flags necessary for linking against R.
>
>> On Windows, it's assumed to be a Perl script stored in RHOME/bin and
>> as the message says, there's no such thing.
>
> I guess this is a feature request then :-(
> Any Perl experts keen on translating the shell script that does R CMD
> config?  I assume that is more or less what would be required.

You also need to collect the information.  Much of it is only relevant to 
building R on a Unix-alike: as the comment says

## <NOTE>
## The variables are basically the precious configure variables (with
## the R_* and MAIN_* ones removed), plus FLIBS and BLAS_LIBS.

and they are extracted from ${R_HOME}/etc${R_ARCH}/Makeconf which does not 
exist on Windows.

I think it is up to those who feel this is needed to contribute and 
maintin the code.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] 'R CMD config' doesn't work on Windows
Prof Brian Ripley