Skip to main content

Modules

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

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

  • 10k Accesses

Abstract

This chapter discusses Rcpp modules which allow programmers to expose C++ functions and classes to R with relative ease. Rcpp modules are inspired from the Boost.Python C++ library which provides similar features for integrating Python and C++. Furthermore, Rcpp modules also offer the ability to extend C++classes exposed to Rdirectly from the Rside. This chapter discusses modules in detail and ends on an applied case study featuring the RcppCNPy package.

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

References

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

Download citation

Publish with us

Policies and ethics