The SNetscape package

SNetscape_0.4-5.tar.gz

This package allows R to be used locally within Netscape (on Unix only) and for JavaScript code to call R and R to call JavaScript. Additionally, R can communicate with any other Netscape Plugin that is LiveConnect-enabled. This allows authors to create dynamic and interactive documents whose contents can be created and updated via R computations.

A graphics device plugin is available. For the most part, it works. There are some synchronization issues that need to be ironed out. It requires a recent version of the development version of R (after March 26 2001).

There are numerous examples illustrating how to deploy the plugin within an HTML document.

Download

The current version is available as a GNU-zipped tar file SNetscape_0.4-5.tar.gz

See the README and INSTALL files for instructions on using and installing the package.

It should work for any version of Netscape supported by the Netscape Plugin SDK. I have used 4.72 on Linux and 4.75 on Solaris.

Documentation

There is very little in the way of an overview or comprehensive documentation at present. That will evolve with time. In the interim, there are some snippets of documentation.
  • Reference Manual
    A very early version of a manual describing the different programming facilities for the S-JavaScript link.
  • RNetscape class
    The Javadoc description of the RNetscape class which provides the methods that JavaScript can call to access the S engine.
  • RGraphicsPlugin class
    The Javadoc description of the RGraphicsPlugin class which provides the methods that JavaScript can call to access the facilities in S graphics device.
  • The S Plugin for Netscape
    Some notes and documentation.
  • The FAQ
    Some questions and answers to problems and issues we have found.
  • Features
    A list of some of the features of the package.
  • Security
    For those concerned with security, you have every reason to worry. This is a very insecure plugin. We hope to deal with this in the future by providing a reduced, safe interpreter like the Tcl plugin.
  • Examples

    A collection of different examples.

    Related Packages

  • RNetscape class
    The Javadoc for the RNetscape class which provides the methods that one call from JavaScript and acts as the proxy to the S engine.
    SXalan
    An extended XSL translator that can access R functions and objects to generate output in documents.
    RSXMLObjects
    An S package for reading and writing S objects formatted using XML.
    XML
    An package for reading and writing XML within S.

  • Duncan Temple Lang <duncan@research.bell-labs.com>
    Last modified: Wed Jul 4 10:13:53 EDT 2001