Computational Statistics

, Volume 24, Issue 2, pp 303–311 | Cite as

How to talk to strangers: ways to leverage connectivity between R, Java and Objective C

  • Simon UrbanekEmail author
Original Paper


R has certain limitations either introduced by design or historically that are not easy to resolve directly. Among those are lack of support for multi-threading or graphical user interfaces. Often we can find a solution in another system or environment. In this paper we show several possibilities of talking between R and other environments and languages that allow the developer to leverage technologies that are not directly accessible from within R. Most prominently the Java and Objective C interfaces in R have been simplified recently such that their use is much easier and ready for wide deployment. We will give a short introduction to their use, focus on package development and discuss some implementation issues.


Java Virtual Machine Java Application Java Classis Return Type Character Vector 
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.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. Brad JC (1986) Object-oriented programming: an evolutionary approach. Addison-Wesley, ReadingGoogle Scholar
  2. Harner EJ, Luo D, Tan J (2007) A R/Java-based statistical learning environment. In: Proceedings of the DSC-2007 (in print)Google Scholar
  3. Helbig M, Theus M, Urbanek S (2005) JGR: Java GUI for R. Stat Comput Graph Newsl 16: 2Google Scholar
  4. Hornik K, Buchta C, Zeileis A (2007) Open-source machine learning: R meets Weka. In: Proceedings of the DSC-2007 (2007 in print)Google Scholar
  5. JGR package on CRAN,
  6. R Development Core Team, R: a language and environment for statistical computing. R foundation for statistical computing, Vienna, Austria.
  7. R Development Core Team, Writing R extensions, R foundation for statistical computing, Vienna, Austria
  8. RJDBC package on CRAN,
  9. Temple Lang D (2000) The Omegahat environment: new possibilities for statistical computing. JCGS 9:3 Google Scholar
  10. Theus M (2002) Interactive Data Visualization using Mondrian. J Stat Softw 7:11
  11. Urbanek S, Theus M (2003) iPlots—high interaction graphics for R. In: Proceedings of the 3rd international workshop on distributed statistical computing (DSC 2003).

Copyright information

© Springer-Verlag 2008

Authors and Affiliations

  1. 1.AT&T Labs-ResearchFlorham ParkUSA

Personalised recommendations