A.J. Rossini rossini at
Thu Sep 12 17:26:57 CEST 2002

>>>>> "eric" == Eric Belpaire <Eric.Belpaire at> writes:

    eric> I again checked that I set the right settings in ess-site.el; I have Ess
    eric> 5.1.24 with Emacs 21.1 on Windows 95.

Which version of R do you have installed?


    eric> It seems as if emacs selects ess-language=sas and ess-dialect=sas, although
    eric> I've set this to ess-language=S and ess-dialect=R in my _emacs
    eric> initialisation file.  I've customised it with the Local / Ess group.
    eric> I've provided below my emacs lisp code, the backtrace and the *ESS* buffer
    eric> content.
    eric> What's the proper sequence of ess function calls?
    eric> Where should I set which variables (if it's not in _emacs)?

    eric> Thanks in advance for your help.
    eric> Eric

    eric> My emacs lisp code is:
    eric> (defun cum-ndist (x)
    eric>   "Compute the normal distribution function value with the R package."
    eric>   (let ((cmdline (concat "pnorm (" (number-to-string x) ")")))
    eric>     (inferior-ess)

This would be better to be (R) or similar.

    eric>     (ess-request-a-process "Message") ;; this line may be unneeded
    eric>     (ess-command cmdline)
    eric>     (ess-quit))) ;; this line may be unneeded
    eric> (cum-ndist 1.2048)
    eric> ; End of emacs lisp code

A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics		rossini at	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini at
-------------- ----------------
FHCRC: M: 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
(my tuesday/wednesday/friday locations are completely unpredictable.)

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