******************************************************************************** File READCNT.TXT Downloading and installing CNTRMN and its interface to Splus ******************************************************************************** CNTRMN is a library of S functions for the computation of constrained estimators and bootstrap tests of robust means of asymmetric distributions. CNTRMN requires ROBETH, ROBGAM, ROBNRM, ROBWBL and TWMEAN to be loaded into S-Plus. CNTRMN is available at the URL: http://www.hospvd.ch/iumsp/home_a.htm (=> download => Cntrmn) Downloading ----------- (a) For Splus 4.x, Splus 2000 or Splus 6.x/Windows, copy the following files in a temporary directory: cntwin.exe (object files, self extracting zip-file; july 2003) cntwin_v6.exe (the same file but for Splus 6.x; oct. 2001) cntman.exe (manual, self extracting ps and pdf-file; july 2003) (b) For R (version >= 1.7.0) / Windows, copy the following file in a temporary directory cntR_win.exe (DLL+source, self extracting zip file; july 2003) cntman.exe (manual, self extracting ps and pdf-file; july 2003) (c) For Splus 3.1/UNIX (and more recent versions), copy the following files in a temporary directory (noted below) : cntsrc.tar.Z (program sources, compressed; august 2001). cntman.ps.Z (manual, compressed ps-file; august 2001) I) Installation for Splus or R under Windows: --------------------------------------------- 1. Execute the self-extracting file cntwin.exe (or cntwin_v6.exe for Splus 6.x or cntR_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 Same procedure for the self-extracting file cntman.exe (S-Plus only). Remark: Installation for Splus 3.x/Windows is no more available. 2. To invoke the library a) under Splus, use the Splus commands: > library(robeth,T) > library(robgam,T) or/and library(robwbl,T) or/and library(robnrm,T) > library(twmean,T) > library(cntrmn,T) b) under R, use the R commands: > library(robeth) > library(robgam) or/and library(robwbl) or/and library(robnrm) > library(twmean) > library(cntrmn) II) Installation under UNIX: The installation of CNTRMN follows the general ROBETH installation procedure described in the ROBETH file README/genral.txt. If you have write access to the Splus HOME directory, the most convenient way to install CNTRMN 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 cntrmn. Type: mkdir cntrmn 3. Decompress the tar file: cd cntrmn zcat /cntsrc.tar.Z | tar xvf - 4. Create the Splus objects. If your Splus version is 4.x or lower, type: mkdir .Data (as a sub-directory of cntrmn) Splus > data.restore("/cntrmn.dmp") > q() If your Splus version is 5.0 or higher, step 4 and 5 (compilation) are achieved by typing: Splus CHAPTER Splus make # If not yet done type: # Splus # > source("cntrmn.q") # > source("bootst.q") # > q() Goto step 6. 5. Compile and link (ld command) cntrmn.f to a file called cntrmn. For more details, follow the hints in genral.txt. See also the file loadobj.com. 6. To invoke the public library, open Splus and type: > library(robeth,T) > library(robgam,T) or library(robwbl,T) or library(robnrm,T) > library(twmean,T); library(cntrmn,T) 7. 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(robgam,T) or/and library(robwbl,T) or/and library(robnrm,T) > library(twmean,T) > library(cntrmn,T) [End of file]