[Rcpp-devel] How to add Rccp to a configure script
edd at debian.org
Mon Dec 12 19:02:28 CET 2011
On 12 December 2011 at 11:31, deqiang sun wrote:
| Hi Rcpp team,
| I made some modification to a open source program which uses configure for installation. I can manually write a make file to compile the original program plus Rcpp and RInside modifications. I am wondering whether you can help add auto configuration. The program is at http://cufflinks.cbcb.umd.edu/downloads/cufflinks-1.2.1.tar.gz
A few quick points:
a) There is an entire vignette devoted to this: Rcpp-package.
b) It is best to avoid configure and get by just using src/Makevars as we
ourselves learned over the years from Simon and others
c) There are now over 40 packages on CRAN using Rcpp, these should provide
d) If you need specific help, please ask specific questions.
e) Lastly, if you must, you can indeed call something like
Rscipt -e "Rcpp:::LdPaths()"
from configure. But see point b) above.
Hope this helps, Dirk
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx
More information about the Rcpp-devel