NCAR's Geophysical Statistics Project

Institute for Mathematics Applied to Geosciences Institute for Mathematics Applied to Geosciences

Installing DI under:

S-PLUS 2000 and Windows
S-PLUS 6.0 and Windows

In both instances, it is necessary to know the location of S-PLUS on your computer. If you accepted the defaults at the time you installed S-PLUS, this is probably something like

C:\Program Files\sp2000
or
C:\Program Files\Insightful\Splus6
for S-PLUS 2000 and S-PLUS 6.0, respectively. Make note of the actual location. You will want to install the DI components in a folder in this directory called library. Finding this before you start is a very good thing ...

Netscape users: to download files without automatically displaying them, hold down the shift key as you click on the mouse.

S-PLUS 2000 and Windows

Download the files di.zip and difields.zip

Double-click on di.zip and make sure the code installs in the S-PLUS 2000 library folder. Most of the time, it should be something like

C:\Program Files\sp2000\library\di
C:\Program Files\sp2000\library\fields
for   di.zip and   difields.zip, respectively.

Follow the same procedure for   difields.zip.

S-PLUS 6.0 and Windows

The zipped files are Di6.ZIP and DiFields6v2.ZIP

Unzip Di6.ZIP into the appropriate [S-PLUS]\library folder into a subfolder called di  . Do the same thing for DiFields6v2.ZIP but make sure it gets unzipped into a subfolder called fields

Note: when unzipping, simply unzip to C:\ and it will automatically extract the files into the appropriate directories if you installed S-PLUS into the default directory (as noted above). If you have S-PLUS installed in a different directory, then go ahead and unzip to C:\, but you will then have to go to

C:\Program Files\Insightful\Splus6\library\di (or fields)

and move the di and/or fields folder(s) into the library folder where you have installed S-PLUS.

Running DI

In S-PLUS, load the di library (it will automatically load the difields library) with the following command:

library(di)

You should see a new toolbar and a new menu option called DI. If you do not see these things, then type (at the S-PLUS prompt):

di.init( )

When you have finished using DI and you want to remove the toolbar buttons and menu simply type

di.close( )

If you have any problems contact Eric Gilleland (ericg@(Remove this part)ucar.edu), or Doug Nychka (nychka@(Remove this part)ucar.edu)