Skip to main content
Log in

Code analysis and parallelizing vector operations in R

  • Original Paper
  • Published:
Computational Statistics Aims and scope Submit manuscript

Abstract

This paper presents some current work and preliminary thoughts on two seemingly unrelated areas. The first is the development of code analysis tools to help identify possible errors in R code. Current versions of these tools have been useful in finding bugs in R’s code as well as code in packages submitted to CRAN. The second area, where work is just beginning, is the development of mechanisms to allow R’s internal vectorized operations, as well as vectorized operations defined in packages, to take advantage of multiple processors. These two areas are related through their connections to ongoing efforts to develop a byte code compiler for R.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  • Becker RA, Chambers JM, Wilks AR (1988) The new S language: a programming environment for data analysis and graphics. Wadsworth, Belmont

    Google Scholar 

  • Burger M, Juenemann K, Koenig T (2006) RUnit: R Unit test framework. R package version 0.4.14

  • Butenhof DR (1997) Programming with POSIX threads. Addison-Wesley Longman Publishing Co., Inc., Boston

    Google Scholar 

  • Chambers JM (1998) Programming with data: a guide to the S language. Springer, Heidelberg

    MATH  Google Scholar 

  • Falcon S, Gentleman R (2007) The weaver package: tools and extensions for processing Sweave documents. In: Proceedings of DSC 2007

  • Kremenek T, Engler DR (2003) Z-ranking: using statistical analysis to counter the impact of static analysis approximations. In: Cousot R (eds) SAS. Lecture Notes in Computer Science, vol 2694. Springer, Heidelberg, pp 295–315

    Google Scholar 

  • Kremenek T, Ashcraft K, Yang J, Engler D (2004) Correlation exploitation in error ranking. SIGSOFT Softw Eng Notes 29(6): 83–93

    Article  Google Scholar 

  • Nielson F, Nialson HR, Hankin C (1998) Principles of program analysis. Springer, Heidelberg

    Google Scholar 

  • R Development Core Team (2006) R: a language and environment for statistical computing. R Foundation for Statistical Computing, Vienna. ISBN 3-900051-07-0

  • Tierney L (2001) A preliminary report. In: Proceedings of the 2nd international workshop on distributed statistical computing

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Luke Tierney.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Tierney, L. Code analysis and parallelizing vector operations in R. Comput Stat 24, 217–223 (2009). https://doi.org/10.1007/s00180-008-0117-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00180-008-0117-9

Keywords

Navigation