On 25 July 2013 18:37, Jannis <bt_jannis@yahoo.de> wrote:

> (defun R+ ()
>   (interactive)
>   (let ((inferior-R-program-name)
>         (if (and buffer-file-name
>                  (file-remote-p buffer-file-name))
>             "usr/local/apps/R/R-2.15.1_**ACML/bin/R"
>           "/usr/bin/R"))
>     (R)))




Close the let paren:

(defun R+ ()
  (interactive)
  (let ((inferior-R-program-name))
      (if (and buffer-file-name
                (file-remote-p buffer-file-name))
          "usr/local/apps/R/R-2.15.1_ACML/bin/R
        "/usr/bin/R")
      (R)))

	[[alternative HTML version deleted]]

