s-news
[Top] [All Lists]

passing parms in S+ batch (UNIX)

To: <s-news@lists.biostat.wustl.edu>
Subject: passing parms in S+ batch (UNIX)
From: "Vukov, Suzanne (Suzan)" <vukov@avaya.com>
Date: Thu, 29 Mar 2001 11:16:28 -0500
Disposition-notification-to: "Vukov, Suzanne (Suzan)" <vukov@avaya.com>
Thread-index: AcC4a5vB3roDYiRQEdWEqwBAyhUCAA==
Thread-topic: passing parms in S+ batch (UNIX)

Help.  I have recently started working in a UNIX environment with strictly mainframe experience beforehand.  I have been learning on the job through text books: UNIX, C, shell, Perl, CGI, Dynamic HTML, _javascript_, and S+.  In other words, I am becoming saturated.  I have not found the S+ books that came with the software particularly helpful.

I am using S+ 6.0 for UNIX -  SunOS 5.6  sun4u sparc SUNW.

From a Perl CGI program I plan to run S+ in batch mode.  I will be receiving query input from the web.

ISSUE # 1)
         I don't know how to pass parameters other than the executable file name.  I would like to pass a unit of measurement  variable indicating whether data should be taken from the decibels or the millivolts column; this will be the y-axis.  The x-axis is by week. 

I also need to dynamically create the BOXPLOT title depending on the following values:
       
        test type column (possible values - NEXT, FEXT, RL)
        product variable - needs to be passed if possible
        pair id column
        mfg location variable - needs to be passed
        test plug type variable - needs to be passed
        frequency column
       
example graph title:  (capital letters represent constant values)
        "test type  TEST RESULTS FOR SYSTIMAX   product  pair id "
        "Manufactured IN  mfg location  - test plug type AT frequency"

Can I do this or can I just pass a title from my Perl program?

ISSUE # 2)
        I am using the "abline (h = c(-n))" where n is a given standard.  I believe my problem is that my data values are outside this given value and the y-axis values are automatically

assigned per my data...how can I handle this situation so the horizontal line will be visible?

ISSUE # 3)
        I am using "summary (dB)" or (mV) depending on the unit of measurement.  I would like to place the statistical output within the boxplot graph (pdf.graph file).  How could I do that?  Currently I am using the sink command to put it to a txt file.

ISSUE # 4)
        If anyone is aware of a good S+ resource for a UNIX environment that expounds at least somewhat on batch, please pass it on.

I hope I have not asked too much and that my questions are clear and complete.  Any assistance or even contrary suggestions will be greatly appreciated!!

Suzan

Suzanne Vukov
Avaya Inc.
Omaha, NE
(402)778-7183

<Prev in Thread] Current Thread [Next in Thread>