The following steps will build both the Java and R code, and install the resulting package.

  • Create a new directory
  • Using subversion, checkout svn co svn://svn.rforge.net/Deducer/trunk Deducer and then put the Deducer folder in the new directory.
  • Using subversion, checkout svn co svn://svn.rforge.net/org/trunk org and put it in the new directory.
You should now have the following structure
-Deducer
    -java
    -man
    -R
    DESCRIPTION
    -mkdist
    -NEWS
-org
    -rosuda
    -Makefile
  • Run the following commands:
cd Deducer
sh ./mkdist
cd ..
NOAWT=1 R CMD INSTALL Deducer_0.2-2.tar.gz

The version number (0.2-2) may change as development continues, so change it to whatever version is appropriate.


Note: If you are building on mac os X and get the error
  NewObject("org/rosuda/iplots/Framework","()V",...) failed
Exception in thread "main" java.lang.InternalError: Can't start the AWT because
Java was started on the first thread.  Make sure StartOnFirstThread is not
specified in your application's Info.plist or on the command line

you will need to set the environmental variable NOAWT=1 . One way to do this is to run Sys.setenv(NOAWT=1) in R.