[ESS] back/forwardslash incompatability

Rodney Sparapani rsparapa at mcw.edu
Tue Jul 26 16:51:05 CEST 2005

tim downie wrote:

>--- Rodney Sparapani <rsparapa at mcw.edu> wrote:
>>Hi Tim:
>>Hmm.  What are you entering in the minibuffer?  I
>>it is either "C:\working\cricket\strip_odi.r" or
>Hi Rodney,
>it is "C:\working\cricket\strip_odi.r",
>or rather the file that xemacs is automatically
>entering into the minibuffer and executing on my
>when I type C-c C-l or eqivalently when I type 
>Thanks for your help.

So, you're not entering anything...  That's the part I was trying to
fix in the earlier thread.  How about trying this version:

(defun ess-load-file (filename)
"Alternate version of `ess-load-file', required with S+4.
This version sends the S-Plus command
to S.  This version does not guarantee to save .Last.value
This version does not offer alternate buffers or editing capability."
     (interactive (list
           (ess-replace-in-string (or
            (and (eq major-mode 'ess-mode)
             (read-file-name "Load S file: " nil nil t))) "[\\]" "/")))
     (if (equal (ess-get-process-variable
         ess-current-process-name 'inferior-ess-ddeclient)
        (default-value 'inferior-ess-ddeclient))
     (ess-load-file-original filename)
       (ess-load-file-ddeclient filename))

More information about the ESS-help mailing list