Command-line Arguments

A.J. Rossini rossini at
Tue Jun 12 21:58:46 CEST 2001

>>>>> "ESVG" == Eric S Van Gyzen <eric at> writes:

    ESVG> ESS Users, I am a Unix systems administrator who has just
    ESVG> moved to a Statistics department.  Many of the users use
    ESVG> emacs and ESS, and I am not very familiar with either.

Welcome to the world of statistical computing!

    ESVG> One of the faculty has asked me how to pass command-line
    ESVG> arguments to S-PLUS (version 5, I think) using ESS.  Does
    ESVG> anyone have a suggestion?  I tried adding them to the
    ESVG> inferior-S+5-program-name variable, but as I suspected, they
    ESVG> weren't interpreted by emacs as arguments.

The fast answer:  take a look at the lisp code for R, i.e. 

        (defun R .... )

in the file .../lisp/essd-r.el in the ESS distribution, and copy it to
something like

        (defun Duke-S ...)

in the file .../lisp/essd-sp5.el;  You want to use the variables in
the Sp5 version, but you want the structure of the R command.

At this point, you can simply do something like:
        C-u M-x S+5 
and it'll prompt you for arguments.

The long answer -- wait for us to do the above, but it might take a
bit of time (or not, I don't know...).

If you have questions on the "fast way", post and we'll (I'll?)  help.


A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics		rossini at	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini at
-------- (wednesday/friday is unknown) --------
FHCRC: M-Tu : 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW:    Th   : 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX

ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at

More information about the ESS-help mailing list