Skip to main content

C++ for R Programmers

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

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

  • 11k Accesses

Abstract

The short appendix offers a very basic introduction to the C++language to someone already (at least somewhat) familiar with Rprogramming. Introducing all of C++in just a few pages is not really possible. Countless books have been written about the C++language since its inception in the early 1990s (and we will list a few at the end in a section on further readings).

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.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.

    See http://en.wikipedia.org/wiki/C++.

References

  • Abrahams D, Gurtovoy A (2004) C++ Template Metaprogramming: Concepts, Tools and Techniques from Boost and Beyond. Addison-Wesley, Boston

    Google Scholar 

  • Austen MH (1999) Generic Programming and the STL: Using and Extending the C++ Standard Template Library. Addison-Wesley

    Google Scholar 

  • Brokken FB (2012) C++ annotations. Electronic book, University of Groningen, URL http://www.icce.rug.nl/documents/cplusplus/, version 9.4.0, accessed 2012-11-24.

  • Guennebaud G, Jacob B, et al (2012) Eigen v3. URL http://eigen.tuxfamily.org

  • Lippman SB, Lajoie J, Moo BE (2005) The C++ Primer, 4th edn. Addison-Wesley

    Google Scholar 

  • Meyers S (1995) More Effective C++: 35 New Ways to Improve Your Programs and Designs. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, ISBN 020163371X

    Google Scholar 

  • Meyers S (2001) Effective STL: 50 specific ways to improve your use of the standard template library. Addison-Wesley Longman Ltd., Essex, UK, ISBN 0-201-74962-9

    Google Scholar 

  • Meyers S (2005) Effective C++: 55 Specific Ways to Improve Your Programs and Designs, 3rd edn. Addison-Wesley Professional, ISBN 978-0321334879

    Google Scholar 

  • 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

  • Sanderson C (2010) Armadillo: An open source C++ algebra library for fast prototyping and computationally intensive experiments. Tech. rep., NICTA, URL http://arma.sf.net

  • Stroustrup B (1997) The C++ Programming Language, 3rd edn. Addison-Wesley

    Google Scholar 

  • Vandevoorde D, Josuttis NM (2003) C++ Templates: The Complete Guide. Addison-Wesley, Boston

    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). C++ for R Programmers. 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_13

Download citation

Publish with us

Policies and ethics