[Bioc-devel] Rscript on Bioconductor test servers

Seth Falcon sfalcon at fhcrc.org
Thu Jan 7 02:04:29 CET 2010


On 1/6/10 4:36 PM, Henning Redestig wrote:
> Just a conclusion to this matter, a Makevars script with

Glad you got things to work.

> PKG_CPPFLAGS = $(shell $(R_HOME)/bin/R --slave -e 'Rcpp:::CxxFlags()')
> PKG_LIBS = $(shell $(R_HOME)/bin/R --slave -e 'Rcpp:::LdFlags()')
>
> and a Makevars.win with
>
> PKG_CPPFLAGS = $(shell $(R_HOME)/bin/Rterm.exe --slave -e 'Rcpp:::CxxFlags()')
> PKG_LIBS = $(shell $(R_HOME)/bin/Rterm.exe --slave -e 'Rcpp:::LdFlags()')
>
> successfully sets the compiling flags for using Rcpp.

FWIW, I believe that you can use the $(R_HOME)/bin/R --slave -e 'blah' 
syntax on Windows too (works for me on XP w/ stock R 2-10.1).

+ seth

-- 
Seth Falcon
Program in Computational Biology | Fred Hutchinson Cancer Research Center



More information about the Bioc-devel mailing list