From ripley at stats.ox.ac.uk  Tue Mar  3 18:44:50 2009
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 3 Mar 2009 17:44:50 +0000 (GMT)
Subject: [Rd] R 2.9.0 devel: package installation with configure-args
 option
In-Reply-To: <gojlhg$i5g$1@perl.epigenomics.epi>
References: <gojlhg$i5g$1@perl.epigenomics.epi>
Message-ID: <alpine.LFD.2.00.0903031737560.27426@gannet.stats.ox.ac.uk>

That version of R is 'under development' and the INSTALL file says

## FIXME: this loses quotes, so filepaths with spaces in get broken up

so it is I think the same as a known issue.

The whole package installation process has been completely 
reconstructed for R-devel, and the process is not quite finished.
And this is a low priority as there are effective workarounds.

On Tue, 3 Mar 2009, ml-it-r-devel at epigenomics.com wrote:

> 
> Hi,
> 
> trying
> to install a package containing C code and requiring non-default configure argument
> settings the incantation (this has worked for R <= 2.8.1 on the same architectures)
> 
> R CMD INSTALL --configure-args="--with-opt1 --with-opt2" packname
> 
> does always result in a warning
> Warning: unknown option '--with-opt2'
> 
> and consequently the option is ignored. Reverting the order of options results in the now
> last option to be ignored. Alternative quoting has not provided a solution.
> 
> Using
> 
> R CMD INSTALL --configure-args=--with-opt1 --configure-args=--with-opt2 packname
> 
> does provide a workaround, though. Is this the (new to me) and only intended way to
> provide more than one configure argument?
> I checked ?INSTALL and the referenced R-admin sec. 'Configuration variables' but still am
> not clear on this.
> 
> Regards, Matthias
> 
> 
> R version 2.9.0 Under development (unstable) (2009-03-02 r48041)
> on Ubuntu 8.04, 8.10
> 
> -- 
> Matthias Burger                     Project Manager/ Biostatistician
> Epigenomics AG    Kleine Praesidentenstr. 1    10178 Berlin, Germany
> phone:+49-30-24345-0                            fax:+49-30-24345-555
> http://www.epigenomics.com           matthias.burger at epigenomics.com
> --
> Epigenomics AG Berlin           Amtsgericht Charlottenburg HRB 75861
> Vorstand:                           Geert Nygaard (CEO/Vorsitzender)
>                                             Oliver Schacht PhD (CFO)
> Aufsichtsrat:   Prof. Dr. Dr. hc. Rolf Krebs (Chairman/Vorsitzender)
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
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 2.9.0 devel: package installation with configure-args option
Prof Brian Ripley