Skip to main content
Log in

JavaStat: a Java/R-based statistical computing environment

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

Abstract

Architectures are described which allow a Java-based front-end to run R code on a server. The front-end described here is a Java application called JavaStat (http://javastat.stat.wvu.edu). JavaStat is a highly-interactive program for data analysis and dynamic visualization with data management capabilities. The objective is to bring the high-level functions of R to JavaStat, without excessive duplicative development work. Results returned from R are wrapped and then displayed using linked, dynamic plots in JavaStat. The principal idea is to use Remote Method Invocation to communicate with a Java server program (JRIServer), which in turn communicates with R using Java/R Interface (JRI). Two versions have been implemented. The first (basic) architecture maintains a connection between the client and server in order to return the results from R. This is suitable for small to moderate data sets in which relatively simple models are run. The second (enhanced) architecture queues the requests and uses polling to fetch the results. It is suitable for large data sets and complex models, e.g., those encountered in genomic studies. JavaStat supports the basic architecture out of the box, but a user account is required to enable the enhanced architectures. The enhanced architecture supports workflows, e.g., genomic and modeling workflows.

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.

Institutional subscriptions

Similar content being viewed by others

References

  • Fox J (2005) The R Commander: a basic-statistics graphical user interface to R. J Stat Softw 14(9): 1–42

    Google Scholar 

  • Gentleman R, Carey VJ et al (2005) Bioinformatics and computational biology solutions using R and bioconductor. Springer Science+Business Media, Inc., Berlin

    Book  MATH  Google Scholar 

  • Grosso W (2002) Java RMI: designing and building distributed applications. O’Reilly & Assoc, Sebastopal

    Google Scholar 

  • Helbig M, Urbanek S, Theus M (2004) JGR: a unified interface to R. In: Proceedings of the “useR! 2004” International Conference

  • Urbanek S (2003) Rserve: a fast way to provide R functionality to applications. In: Proceedings of the 3rd International Workshop on Distributed Statistical Computing (DSC 2003), ISSN 1609-395X

  • Urbanek S, Theus M (2003) iPlots: high dimensional graphics for R. In: Proceedings of the 3rd International Workshop on Distributed Statistical Computing (DSC 2003), ISSN 1609-395X

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to E. James Harner.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Harner, E.J., Luo, D. & Tan, J. JavaStat: a Java/R-based statistical computing environment. Comput Stat 24, 295–302 (2009). https://doi.org/10.1007/s00180-008-0131-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00180-008-0131-y

Keywords

Navigation