R

This page lists some of the things that we have done and not put elsewhere. For more complete information, see the Omegahat R packages

  • Registering native routines for .C(), .Call(), .Fortran(), .External()
  • dyn.load()
    Some notes and examples on using the additional arguments to the dyn.load() function.
  • Distributed Computing - CORBA.
    The ability to communicate with other applications such as XGobi, spread-sheets (e.g. GNumeric), and other R/S processes is key to moving towards extensible component-based environments. The idea is to aid the user in doing tasks that span multiple applications and machines. We have developed and will very soon release interactive access from with S and R to CORBA. See CORBA for more details.
  • Embedded Java.
    While we can obtain access to Java facilities using the CORBA, the libraries and so forth available from Java are sufficiently rich and important to merit providing direct access to Java from within S and R. We have successfully done this for S and very soon for R using the Omegahat evaluation facilities and JNI. This allows access to
    • JDBC and hence arbitrary databases,
    • GUIs using AWT and Swing,
    • XML,
    • full access to the Omeghat language and classes,
    • all the rapidly emerging collection of Java libraries.
    There is a common philosophy between this and the interactive CORBA facilities in relation to converting objects between different systems by value and by reference..
  • Threading - Internal and User-level.
    Previously, John Chambers and I prototyped a threaded version of S which allowed users to manage their own threads and background computations. (See Threaded S.) We have discussed doing the same with R and making it publically available.

    Aside from availing of improved performance from multiple processors, threading can simplify certain aspects of software development (and compilicate others) such as event loops for graphics, input, distributed task management, servers, etc. in different threads. The model we used blends naturally with the distributed task-management available in Omegahat and the CORBA facilities in S and R.


  • Duncan Temple Lang <duncan@research.bell-labs.com>
    Last modified: Thu Jan 9 20:07:36 EST 2003