Rich Heiberger rmh at
Fri Sep 6 22:29:10 CEST 2002

This is not easy on Windows.  ESS uses the dde protocol to communicate with
S-Plus and NTemacs has that set up for one-way communication.

Here is the beginning of a complex sequence that does work.

In the buffer from which you wish to send the command (in my example I did
it from the *telnet* buffer in which I read your email) enter
     M-x ess-switch-process 
and then accept the S+6 buffer in the mini-buffer.

Now type 
   (ess-command "page(cat(pnorm (1.204859)), filename='tmp')")
in that buffer, place the cursor at the end and enter
   C-x C-e

The answer will appear in the tmp buffer in your emacs.
Manually, or under program control, move to the tmp buffer and read your

Placing this under program control is a non-trivial task.
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