[ESS] Fwd: ess sas interactive (remote)

Rodney Sparapani rsparapa at mcw.edu
Fri Jun 14 21:26:27 CEST 2013


On 06/14/2013 10:44 AM, Vinh Nguyen wrote:
> I think the trick is to set the sas buffer as an inferior buffer via
> inferior-ess-mode.  Then in my sas file buffer, I can do C-c C-s to
> switch to that process (it's listed now).  However, when trying to
> send code with C-c C-r, C-c C-j, or C-c i, there is an error.  The
> messages buffer shows:
>
> Starting evaluation...
> process-put: Wrong type argument: stringp, nil
>

I can reproduce that...
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
   get-process(nil)
   ess-process-put(sp-for-help-changed\? t)
   ess-search-path-tracker(#("title;" 0 5 (fontified t face 
font-lock-keyword-face) 5 6 (fontified t)))
   run-hook-with-args(ess-search-path-tracker #("title;" 0 5 (fontified 
t face font-lock-keyword-face) 5 6 (fontified t)))
   ess--run-presend-hooks(#<process shell> #("title;" 0 5 (fontified t 
face font-lock-keyword-face) 5 6 (fontified t)))
   ess-eval-linewise(#("title;" 0 5 (fontified t face 
font-lock-keyword-face) 5 6 (fontified t)) nil eob nil)
   ess-eval-line-and-step()
   ess-eval-region-or-line-and-step(nil)
   call-interactively(ess-eval-region-or-line-and-step nil nil)

But, I don't know how to fix it.

> The docstring of inferior-ess-mode seems to describe R/S, so maybe it
> only works for that dialect?
>

Well, that is not unusual.  That is true of virtually all documentation
in ESS.  R/S is assumed, but you can often get other things to work.

-- 
Rodney Sparapani, PhD  Center for Patient Care and Outcomes Research
Sr. Biostatistician               http://www.mcw.edu/pcor
4 wheels good, 2 wheels better!   Medical College of Wisconsin (MCW)
WWLD?:  What Would Lombardi Do?   Milwaukee, WI, USA



More information about the ESS-help mailing list