Abstract
Chapter 1 provided a gentle introduction to Rcpp and some of its key features. In this chapter, we look more closely at the required toolchain of compilers and related R packages needed to deploy the Rcpp package. In particular, on Windows, the Rtools collection is used and non-gcc compilers are not supported. On Unix-alike systems such as Linux and OS X, gcc/g++ is the default.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Well, Windows user may have to set the two environment variables differently but that is a shell limitation in Windows and not an issue with Rcpp.
- 2.
This presumes a platform for which pre-built binaries are provided. Rcpp is available in binary form for Windows and OS X users from CRAN, and as a .deb package for Debian and Ubuntu users. For other systems, the Rcpp library is automatically built from source during installation or upgrades.
References
Chambers JM (2008) Software for Data Analysis: Programming with R. Statistics and Computing, Springer, Heidelberg, ISBN 978-0-387-75935-7
Galassi M, Davies J, Theiler J, Gough B, Jungman G, Alken P, Booth M, Rossi F (2010) GNU Scientific Library Reference Manual. 3rd edn, URL http://www.gnu.org/software/gsl, version 1.14. ISBN 0954612078
Gentleman R (2009) R Programming for Bioinformatics. Computer Science and Data Analysis, Chapman & Hall/CRC, Boca Raton, FL
Matloff N (2011) The Art of R Programming: A Tour of Statistical Software Design. No Starch Press, San Francisco, CA
R Development Core Team (2012a) R Installation and Administration. R Foundation for Statistical Computing, Vienna, Austria, URL http://CRAN.R-Project.org/doc/manuals/R-admin.html, ISBN 3-900051-09-7
R Development Core Team (2012d) Writing R extensions. R Foundation for Statistical Computing, Vienna, Austria, URL http://CRAN.R-Project.org/doc/manuals/R-exts.html, ISBN 3-900051-11-9
Sklyar O, Murdoch D, Smith M, Eddelbuettel D, François R (2012) inline: Inline C, C++, Fortran function calls from R. URL http://CRAN.R-Project.org/package=inline, R package version 0.3.10
Venables WN, Ripley BD (2000) S Programming. Statistics and Computing, Springer-Verlag, New York
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 The Author
About this chapter
Cite this chapter
Eddelbuettel, D. (2013). Tools and Setup. In: Seamless R and C++ Integration with Rcpp. Use R!, vol 64. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-6868-4_2
Download citation
DOI: https://doi.org/10.1007/978-1-4614-6868-4_2
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-6867-7
Online ISBN: 978-1-4614-6868-4
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)