[Rd] R 2.9.0 devel: package installation with configure-args option

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Mar 5 15:01:43 CET 2009


I think this should now work (one of several 'FIXME' issues addressed 
in the latest commit -- there are still some to go, but 2.9.0 is not 
due for 6 weeks).

It is always useful to have a real test example, though.  (I used rgl 
in relation to some discussion about paths on r-sig-mac.)

On Tue, 3 Mar 2009, Prof Brian Ripley wrote:

> 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
>

-- 
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



More information about the R-devel mailing list