[ESS] Fwd: Getting SAS to work

Cameron Hooper chooper at umich.edu
Sat Jul 30 19:31:33 CEST 2005


On Jul 30, 2005, at 10:13 AM, rodney sparapani wrote:
>>>
>>> I move to Buffer 1, select my sas code and type C-c C-r.
>>>
>>> The buffer containing my sas code (buffer 1) disappears and is
>>> replaced by a new buffer titled (Shell:run) containing the 
>>> information
>>> I gave previously, repeated here:
>>>
>>> cd "/home/usr13/chooper/"
>>> nohup nice +6 sas ess-temp -rsasuser &
>>> [northrup][~]> [northrup][~]> [1] 18945
>>> [northrup][~]>
>>>
>>> C-x C-b reveals the test.sas buffers still exists, it is just hidden.
>
> Hi Cameron:
>
> I don't have a SAS installation handy, but this could be a bug.  In 
> the lisp
> file essd-sas.el, there is the following line in the function SAS-mode:
> (define-key sas-mode-local-map "\C-c\C-r" 'ess-sas-submit-region)
>
> Comment it out with a semi-colon as follows:
> ;(define-key sas-mode-local-map "\C-c\C-r" 'ess-sas-submit-region)
>
> Start another instance of emacs and see if that makes any difference.

That fixed it. Thanks Rich and Rodney for your help. I am now happily 
using SAS interactively within emacs. Life is good.

Cameron.




More information about the ESS-help mailing list