Skip to main content

Speed, Testing, and Reporting

  • Chapter
  • 1010 Accesses

Abstract

This last chapter could have easily been labeled as the “Miscellaneous” chapter. It includes a discussion on three important topics of which R programmers need to be aware. The first topic addresses the methods that can be used to speed up native R code and to allow interoperability between R and C++. The second topic revolves around the idea of test-driven development and how R users can write unit tests in order to improve their code quality and reliability. The chapter ends with a discussion on research reproducibility and reporting within R. [41]. A streamlined and elegant reporting workflow has been made possible by the recent work of the RStudio team and packages such as sweave and knitr [145, 146]. The generation of a sample .pdf report via knitr is presented at the end of the chapter.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   99.99
Price excludes VAT (USA)
  • Durable hardcover 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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Copyright information

© 2015 Folk Creations, Inc.

About this chapter

Cite this chapter

Georgakopoulos, H. (2015). Speed, Testing, and Reporting. In: Quantitative Trading with R. Palgrave Macmillan, New York. https://doi.org/10.1057/9781137437471_11

Download citation

Publish with us

Policies and ethics