Skip to main content

Tools and Setup

  • Chapter
  • First Online:
Seamless R and C++ Integration with Rcpp

Part of the book series: Use R! ((USE R,volume 64))

  • 10k Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

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

    Google Scholar 

  • 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

    Google Scholar 

  • Matloff N (2011) The Art of R Programming: A Tour of Statistical Software Design. No Starch Press, San Francisco, CA

    Google Scholar 

  • 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

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics