Code analysis and parallelizing vector operations in R
- 88 Downloads
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.
KeywordsStatic analysis Compilation Software testing Parallel computation
Unable to display preview. Download preview PDF.
- Becker RA, Chambers JM, Wilks AR (1988) The new S language: a programming environment for data analysis and graphics. Wadsworth, BelmontGoogle Scholar
- Burger M, Juenemann K, Koenig T (2006) RUnit: R Unit test framework. R package version 0.4.14Google Scholar
- Butenhof DR (1997) Programming with POSIX threads. Addison-Wesley Longman Publishing Co., Inc., BostonGoogle Scholar
- Falcon S, Gentleman R (2007) The weaver package: tools and extensions for processing Sweave documents. In: Proceedings of DSC 2007Google Scholar
- 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–315Google Scholar
- Nielson F, Nialson HR, Hankin C (1998) Principles of program analysis. Springer, HeidelbergGoogle Scholar
- R Development Core Team (2006) R: a language and environment for statistical computing. R Foundation for Statistical Computing, Vienna. ISBN 3-900051-07-0Google Scholar
- Tierney L (2001) A preliminary report. In: Proceedings of the 2nd international workshop on distributed statistical computingGoogle Scholar