C++ for R Programmers

  • Dirk Eddelbuettel
Part of the Use R! book series (USE R, volume 64)


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


Object File Loop Body Object Code Head File Container Type 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. Abrahams D, Gurtovoy A (2004) C++ Template Metaprogramming: Concepts, Tools and Techniques from Boost and Beyond. Addison-Wesley, BostonGoogle Scholar
  2. Austen MH (1999) Generic Programming and the STL: Using and Extending the C++ Standard Template Library. Addison-WesleyGoogle Scholar
  3. Brokken FB (2012) C++ annotations. Electronic book, University of Groningen, URL, version 9.4.0, accessed 2012-11-24.
  4. Guennebaud G, Jacob B, et al (2012) Eigen v3. URL
  5. Lippman SB, Lajoie J, Moo BE (2005) The C++ Primer, 4th edn. Addison-WesleyGoogle Scholar
  6. 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 020163371XGoogle Scholar
  7. 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-9Google Scholar
  8. Meyers S (2005) Effective C++: 55 Specific Ways to Improve Your Programs and Designs, 3rd edn. Addison-Wesley Professional, ISBN 978-0321334879Google Scholar
  9. R Development Core Team (2012d) Writing R extensions. R Foundation for Statistical Computing, Vienna, Austria, URL, ISBN 3-900051-11-9
  10. Sanderson C (2010) Armadillo: An open source C++ algebra library for fast prototyping and computationally intensive experiments. Tech. rep., NICTA, URL
  11. Stroustrup B (1997) The C++ Programming Language, 3rd edn. Addison-WesleyGoogle Scholar
  12. Vandevoorde D, Josuttis NM (2003) C++ Templates: The Complete Guide. Addison-Wesley, BostonGoogle Scholar

Copyright information

© The Author 2013

Authors and Affiliations

  • Dirk Eddelbuettel
    • 1
  1. 1.River ForestIllinoisUSA

Personalised recommendations