******************************************************************************** File READHUB.TXT Downloading and installing HUBER and its interface to Splus ******************************************************************************** HUBER is a library of S functions for the computation of "Huber" type robust regression. HUBER requires ROBETH to be loaded into S-Plus. HUBER is available at the URL: http://www.iumsp.ch/Unites/us/msp_us.htm (=> software) Downloading ----------- (a) For Splus 4.x, Splus 2000 or Splus 6.x/Windows, copy the following files in a temporary directory: hubwin.exe (object files, self-extracting zip file; july 1998) hubwin_v6.exe (the same file but for Splus 6.x; august 2004) hubman.exe (manual, self-extracting ps and pdf-file; august 1999) (b) For R (version >= 1.5.1) / Windows, copy the following file in a temporary directory hubR_win.exe (source, self extracting zip file; august 2003) hubman.exe (manual, self-extracting ps and pdf-file; august 1999) (c) For Splus 3.1/UNIX (and more recent versions) copy the following files in the temporary directory noted below : hubsrc.tar.Z (program sources, compressed; april 1997) hubman.tar.Z (manual, compressed ps file; april 1997) I) Installation for Splus or R under Windows: --------------------------------------------- 1. Execute the self-extracting file hubwin.exe (or hubR_win.exe for R) The name of the directory where the file will be "unzipped" must be entered. For a standard installation, it is: c:\Program Files\sp2000\library or c:\Program Files\splus6\library or c:\Program Files\R\rwNNN\library This path is noted afterwards. Same procedure for the file hubman.exe (S-Plus only). Remark: Installation for Splus 3.x/Windows is no more available. If your Splus version is 4.x or 2000 goto step 2. 2. To invoke the library a) under Splus, use the Splus commands: > library(robeth,T) > library(Huber,T) b) under R, use the R commands: > library(robeth) > library(Huber) # => Masks some R functions II) Installation under UNIX: --------------------------- If you have write access to the Splus HOME directory, the most convenient way to install HUBER is the creation of a public library. Otherwise create your private library and skip step 1 below. 1. Change to the Splus HOME directory: cd /library 2. Create the new directory Huber. Type: mkdir Huber 3. Decompress the tar file: cd Huber zcat /hubsrc.tar.Z | tar xvf - 4. Create the Huber/.Data sub-directory and the Splus objects. If your Splus version is 4.x or lower, type: mkdir .Data otherwise (Splus 5.x, Splus 6.x or higher) , type: Splus CHAPTER Then, type the commands: Splus > source("hubano.q") > source("hubcomp.q") > source("hubextr.q") > source(hubreg.q") > source("sthub.q") > q() 5. To invoke the public library, open Splus and type: > library(robeth,T) > library(Huber,T) 6. For a private library, create a file "mylib.q" for example, containing the following line: assign("lib.loc","",frame=0) In my case, I have: assign("lib.loc", "/users/arandria", frame=0) Then after opening Splus, type: > source("mylib.q") > library(robeth,T) > library(Huber,T) [End of file]