From ml-it-r-devel at epigenomics.com  Tue Mar  3 17:23:12 2009
From: ml-it-r-devel at epigenomics.com (ml-it-r-devel at epigenomics.com)
Date: Tue, 03 Mar 2009 17:23:12 +0100
Subject: [Rd] R 2.9.0 devel: package installation with configure-args option
Message-ID: <gojlhg$i5g$1@perl.epigenomics.epi>


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)



[Rd] R 2.9.0 devel: package installation with configure-args option
ml-it-r-devel at epigenomics.com