JavaStat: a Java/R-based statistical computing environment. (English) Zbl 1232.62006

Summary: 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.


62-04 Software, source code, etc. for problems pertaining to statistics
62A09 Graphical methods in statistics
68N19 Other programming paradigms (object-oriented, sequential, concurrent, automatic, etc.)


R package; Java; RMI; JRI
Full Text: DOI


[1] Fox J (2005) The R Commander: a basic-statistics graphical user interface to R. J Stat Softw 14(9): 1–42
[2] Gentleman R, Carey VJ et al (2005) Bioinformatics and computational biology solutions using R and bioconductor. Springer Science+Business Media, Inc., Berlin · Zbl 1142.62100
[3] Grosso W (2002) Java RMI: designing and building distributed applications. O’Reilly & Assoc, Sebastopal
[4] Helbig M, Urbanek S, Theus M (2004) JGR: a unified interface to R. In: Proceedings of the ”useR! 2004” International Conference
[5] 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
[6] 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
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.