[ESS] Questions on Section 3.3

Marius Hofert marius.hofert at uwaterloo.ca
Mon May 18 03:07:12 CEST 2015


Hi Vitalie,

thanks again for helping. Below is what I obtain.

Cheers,
Marius

Debugger entered--Lisp error: (quit)
  (or (accept-process-output proc wait) (if (and sec-prompt
(process-get proc (quote sec-prompt))) nil (if force-redisplay
(redisplay (quote force))) (process-get proc (quote busy))))
  (while (or (accept-process-output proc wait) (if (and sec-prompt
(process-get proc (quote sec-prompt))) nil (if force-redisplay
(redisplay (quote force))) (process-get proc (quote busy)))) (if (> (-
(float-time) start-time) 0.5) (setq wait 0.5)))
  (save-excursion (while (or (accept-process-output proc wait) (if
(and sec-prompt (process-get proc (quote sec-prompt))) nil (if
force-redisplay (redisplay (quote force))) (process-get proc (quote
busy)))) (if (> (- (float-time) start-time) 0.5) (setq wait 0.5))))
  (let ((start-time (float-time))) (save-excursion (while (or
(accept-process-output proc wait) (if (and sec-prompt (process-get
proc (quote sec-prompt))) nil (if force-redisplay (redisplay (quote
force))) (process-get proc (quote busy)))) (if (> (- (float-time)
start-time) 0.5) (setq wait 0.5)))))
  ess-wait-for-process(#<process /usr/local/bin/R> nil 0.01)
  (if no-wait nil (ess-write-to-dribble-buffer "(inferior-ess: waiting
for process to start (before hook)\n") (ess-wait-for-process
(get-process procname) nil 0.01))
  (let* ((symbol-string (concat "inferior-" inferior-ess-program
"-args")) (switches-symbol (intern-soft symbol-string)) (switches (if
(and switches-symbol (boundp switches-symbol)) (symbol-value
switches-symbol)))) (set-buffer buf) (inferior-ess-mode)
(ess-write-to-dribble-buffer (format "(inf-ess 3.0): prog=%s,
start-args=%s, echoes=%s\n" inferior-ess-program infargs
comint-process-echoes)) (setq ess-local-process-name procname)
(goto-char (point-max)) (if ess-history-file (if (eq t
ess-history-file) (set (make-local-variable (quote ess-history-file))
(concat "." ess-dialect "history")) (if (stringp ess-history-file) nil
(error "`ess-history-file' must be nil, t, or a string")))) (if
ess-history-file (progn (setq comint-input-ring-file-name
(expand-file-name ess-history-file (or ess-history-directory
ess-directory))) (comint-read-input-ring))) (set-buffer (if switches
(inferior-ess-make-comint buf-name-str procname infargs switches)
(inferior-ess-make-comint buf-name-str procname infargs)))
(set-process-sentinel (get-process procname) (quote
ess-process-sentinel)) (let ((conselt (assoc procname
ess-process-name-list))) (if conselt nil (setq ess-process-name-list
(cons (cons procname nil) ess-process-name-list))))
(ess-make-buffer-current) (goto-char (point-max)) (setq
ess-sl-modtime-alist nil) (set-process-filter (get-process procname)
(quote inferior-ess-output-filter)) (inferior-ess-mark-as-busy
(get-process procname)) (process-send-string (get-process procname)
"\n") (if no-wait nil (ess-write-to-dribble-buffer "(inferior-ess:
waiting for process to start (before hook)\n") (ess-wait-for-process
(get-process procname) nil 0.01)) (ess-process-put (quote
funargs-cache) (make-hash-table :test (quote equal))) (ess-process-put
(quote funargs-pre-cache) nil) (process-put (get-process procname)
(quote accum-buffer-name) (format " *%s:accum*" procname)) (set
(make-local-variable (quote syntax-begin-function)) (function
inferior-ess-goto-last-prompt-if-close)) (set (make-local-variable
(quote font-lock-fontify-region-function)) (function
inferior-ess-fontify-region)) (run-hooks (quote ess-post-run-hook))
(ess-load-extras t) (if no-wait nil (ess-write-to-dribble-buffer
"(inferior-ess 3): waiting for process after hook")
(ess-wait-for-process (get-process procname))))
  (if (and proc (comint-check-proc (process-buffer proc))) (progn
(ess-write-to-dribble-buffer (format "(inf-ess ..): popping to
proc\n")) (pop-to-buffer (process-buffer proc))) (let* ((symbol-string
(concat "inferior-" inferior-ess-program "-args")) (switches-symbol
(intern-soft symbol-string)) (switches (if (and switches-symbol
(boundp switches-symbol)) (symbol-value switches-symbol))))
(set-buffer buf) (inferior-ess-mode) (ess-write-to-dribble-buffer
(format "(inf-ess 3.0): prog=%s, start-args=%s, echoes=%s\n"
inferior-ess-program infargs comint-process-echoes)) (setq
ess-local-process-name procname) (goto-char (point-max)) (if
ess-history-file (if (eq t ess-history-file) (set (make-local-variable
(quote ess-history-file)) (concat "." ess-dialect "history")) (if
(stringp ess-history-file) nil (error "`ess-history-file' must be nil,
t, or a string")))) (if ess-history-file (progn (setq
comint-input-ring-file-name (expand-file-name ess-history-file (or
ess-history-directory ess-directory))) (comint-read-input-ring)))
(set-buffer (if switches (inferior-ess-make-comint buf-name-str
procname infargs switches) (inferior-ess-make-comint buf-name-str
procname infargs))) (set-process-sentinel (get-process procname)
(quote ess-process-sentinel)) (let ((conselt (assoc procname
ess-process-name-list))) (if conselt nil (setq ess-process-name-list
(cons (cons procname nil) ess-process-name-list))))
(ess-make-buffer-current) (goto-char (point-max)) (setq
ess-sl-modtime-alist nil) (set-process-filter (get-process procname)
(quote inferior-ess-output-filter)) (inferior-ess-mark-as-busy
(get-process procname)) (process-send-string (get-process procname)
"\n") (if no-wait nil (ess-write-to-dribble-buffer "(inferior-ess:
waiting for process to start (before hook)\n") (ess-wait-for-process
(get-process procname) nil 0.01)) (ess-process-put (quote
funargs-cache) (make-hash-table :test (quote equal))) (ess-process-put
(quote funargs-pre-cache) nil) (process-put (get-process procname)
(quote accum-buffer-name) (format " *%s:accum*" procname)) (set
(make-local-variable (quote syntax-begin-function)) (function
inferior-ess-goto-last-prompt-if-close)) (set (make-local-variable
(quote font-lock-fontify-region-function)) (function
inferior-ess-fontify-region)) (run-hooks (quote ess-post-run-hook))
(ess-load-extras t) (if no-wait nil (ess-write-to-dribble-buffer
"(inferior-ess 3): waiting for process after hook")
(ess-wait-for-process (get-process procname)))) (save-current-buffer
(set-buffer buf) (rename-buffer buf-name-str t)) (if (and
inferior-ess-same-window (not inferior-ess-own-frame))
(switch-to-buffer buf) (pop-to-buffer buf)))
  (let* ((ess-directory (or startdir ess-directory)) (infargs (or
ess-start-args inferior-ess-start-args)) (special-display-regexps nil)
(special-display-frame-alist inferior-ess-frame-alist) (proc
(get-process procname))) (if inferior-ess-own-frame (setq
special-display-regexps (quote (".")))) (if (and proc
(comint-check-proc (process-buffer proc))) (progn
(ess-write-to-dribble-buffer (format "(inf-ess ..): popping to
proc\n")) (pop-to-buffer (process-buffer proc))) (let* ((symbol-string
(concat "inferior-" inferior-ess-program "-args")) (switches-symbol
(intern-soft symbol-string)) (switches (if (and switches-symbol
(boundp switches-symbol)) (symbol-value switches-symbol))))
(set-buffer buf) (inferior-ess-mode) (ess-write-to-dribble-buffer
(format "(inf-ess 3.0): prog=%s, start-args=%s, echoes=%s\n"
inferior-ess-program infargs comint-process-echoes)) (setq
ess-local-process-name procname) (goto-char (point-max)) (if
ess-history-file (if (eq t ess-history-file) (set (make-local-variable
(quote ess-history-file)) (concat "." ess-dialect "history")) (if
(stringp ess-history-file) nil (error "`ess-history-file' must be nil,
t, or a string")))) (if ess-history-file (progn (setq
comint-input-ring-file-name (expand-file-name ess-history-file (or
ess-history-directory ess-directory))) (comint-read-input-ring)))
(set-buffer (if switches (inferior-ess-make-comint buf-name-str
procname infargs switches) (inferior-ess-make-comint buf-name-str
procname infargs))) (set-process-sentinel (get-process procname)
(quote ess-process-sentinel)) (let ((conselt (assoc procname
ess-process-name-list))) (if conselt nil (setq ess-process-name-list
(cons (cons procname nil) ess-process-name-list))))
(ess-make-buffer-current) (goto-char (point-max)) (setq
ess-sl-modtime-alist nil) (set-process-filter (get-process procname)
(quote inferior-ess-output-filter)) (inferior-ess-mark-as-busy
(get-process procname)) (process-send-string (get-process procname)
"\n") (if no-wait nil (ess-write-to-dribble-buffer "(inferior-ess:
waiting for process to start (before hook)\n") (ess-wait-for-process
(get-process procname) nil 0.01)) (ess-process-put (quote
funargs-cache) (make-hash-table :test (quote equal))) (ess-process-put
(quote funargs-pre-cache) nil) (process-put (get-process procname)
(quote accum-buffer-name) (format " *%s:accum*" procname)) (set
(make-local-variable (quote syntax-begin-function)) (function
inferior-ess-goto-last-prompt-if-close)) (set (make-local-variable
(quote font-lock-fontify-region-function)) (function
inferior-ess-fontify-region)) (run-hooks (quote ess-post-run-hook))
(ess-load-extras t) (if no-wait nil (ess-write-to-dribble-buffer
"(inferior-ess 3): waiting for process after hook")
(ess-wait-for-process (get-process procname)))) (save-current-buffer
(set-buffer buf) (rename-buffer buf-name-str t)) (if (and
inferior-ess-same-window (not inferior-ess-own-frame))
(switch-to-buffer buf) (pop-to-buffer buf))))
  (let* ((process-environment process-environment) (defdir (or (and
ess-directory-function (funcall ess-directory-function)) ess-directory
default-directory)) (temp-dialect (if
ess-use-inferior-program-name-in-buffer-name (if (string-equal
temp-ess-dialect "R") inferior-R-program-name temp-ess-dialect)
temp-ess-dialect)) (temp-lang temp-ess-lang) (procname (let ((ntry 0)
(done nil)) (while (not done) (setq ntry (1+ ntry) done (not
(get-process ...)))) (ess-proc-name ntry temp-dialect))) (buf-name-str
(funcall ess-gen-proc-buffer-name-function procname)) startdir buf
method) (ess-write-to-dribble-buffer (format "(inf-ess 1.1):
procname=%s temp-dialect=%s, buf-name=%s \n" procname temp-dialect
buf-name-str)) (cond ((and (not (comint-check-proc (current-buffer)))
(eq major-mode (quote inferior-ess-mode))) (setq startdir (if
ess-ask-for-ess-directory (ess-get-directory defdir temp-dialect
procname) defdir) buf (current-buffer) buf-name-str (buffer-name)
method 1)) ((get-buffer buf-name-str) (setq buf (get-buffer
buf-name-str) method 2)) (t (setq startdir (if
ess-ask-for-ess-directory (ess-get-directory defdir temp-dialect
procname) defdir) buf (if ess-ask-about-transfile (let ((transfilename
...)) (if (string= transfilename "") (get-buffer-create buf-name-str)
(find-file-noselect ...))) (get-buffer-create buf-name-str)) method
3))) (ess-write-to-dribble-buffer (format "(inf-ess 2.0) Method #%d
start=%s buf=%s\n" method startdir buf)) (set-buffer buf)
(ess-setq-vars-local ess-customize-alist) (ess-write-to-dribble-buffer
(format "(inf-ess 2.1): ess-language=%s, ess-dialect=%s buf=%s \n"
ess-language ess-dialect (current-buffer))) (if startdir (setq
default-directory startdir)) (let* ((ess-directory (or startdir
ess-directory)) (infargs (or ess-start-args inferior-ess-start-args))
(special-display-regexps nil) (special-display-frame-alist
inferior-ess-frame-alist) (proc (get-process procname))) (if
inferior-ess-own-frame (setq special-display-regexps (quote ("."))))
(if (and proc (comint-check-proc (process-buffer proc))) (progn
(ess-write-to-dribble-buffer (format "(inf-ess ..): popping to
proc\n")) (pop-to-buffer (process-buffer proc))) (let* ((symbol-string
(concat "inferior-" inferior-ess-program "-args")) (switches-symbol
(intern-soft symbol-string)) (switches (if (and switches-symbol ...)
(symbol-value switches-symbol)))) (set-buffer buf) (inferior-ess-mode)
(ess-write-to-dribble-buffer (format "(inf-ess 3.0): prog=%s,
start-args=%s, echoes=%s\n" inferior-ess-program infargs
comint-process-echoes)) (setq ess-local-process-name procname)
(goto-char (point-max)) (if ess-history-file (if (eq t
ess-history-file) (set (make-local-variable ...) (concat "."
ess-dialect "history")) (if (stringp ess-history-file) nil (error
"`ess-history-file' must be nil, t, or a string")))) (if
ess-history-file (progn (setq comint-input-ring-file-name
(expand-file-name ess-history-file ...)) (comint-read-input-ring)))
(set-buffer (if switches (inferior-ess-make-comint buf-name-str
procname infargs switches) (inferior-ess-make-comint buf-name-str
procname infargs))) (set-process-sentinel (get-process procname)
(quote ess-process-sentinel)) (let ((conselt (assoc procname
ess-process-name-list))) (if conselt nil (setq ess-process-name-list
(cons ... ess-process-name-list)))) (ess-make-buffer-current)
(goto-char (point-max)) (setq ess-sl-modtime-alist nil)
(set-process-filter (get-process procname) (quote
inferior-ess-output-filter)) (inferior-ess-mark-as-busy (get-process
procname)) (process-send-string (get-process procname) "\n") (if
no-wait nil (ess-write-to-dribble-buffer "(inferior-ess: waiting for
process to start (before hook)\n") (ess-wait-for-process (get-process
procname) nil 0.01)) (ess-process-put (quote funargs-cache)
(make-hash-table :test (quote equal))) (ess-process-put (quote
funargs-pre-cache) nil) (process-put (get-process procname) (quote
accum-buffer-name) (format " *%s:accum*" procname)) (set
(make-local-variable (quote syntax-begin-function)) (function
inferior-ess-goto-last-prompt-if-close)) (set (make-local-variable
(quote font-lock-fontify-region-function)) (function
inferior-ess-fontify-region)) (run-hooks (quote ess-post-run-hook))
(ess-load-extras t) (if no-wait nil (ess-write-to-dribble-buffer
"(inferior-ess 3): waiting for process after hook")
(ess-wait-for-process (get-process procname)))) (save-current-buffer
(set-buffer buf) (rename-buffer buf-name-str t)) (if (and
inferior-ess-same-window (not inferior-ess-own-frame))
(switch-to-buffer buf) (pop-to-buffer buf)))))
  (let* ((ess-customize-alist (or customize-alist
ess-customize-alist)) (temp-ess-dialect (eval (cdr (assoc (quote
ess-dialect) ess-customize-alist)))) (temp-ess-lang (eval (cdr (assoc
(quote ess-language) ess-customize-alist))))) (run-hooks (quote
ess-pre-run-hook)) (ess-write-to-dribble-buffer (format "(inf-ess 1):
lang=%s, dialect=%s, tmp-dialect=%s, buf=%s\n" ess-language
ess-dialect temp-ess-dialect (current-buffer))) (let*
((process-environment process-environment) (defdir (or (and
ess-directory-function (funcall ess-directory-function)) ess-directory
default-directory)) (temp-dialect (if
ess-use-inferior-program-name-in-buffer-name (if (string-equal
temp-ess-dialect "R") inferior-R-program-name temp-ess-dialect)
temp-ess-dialect)) (temp-lang temp-ess-lang) (procname (let ((ntry 0)
(done nil)) (while (not done) (setq ntry (1+ ntry) done (not ...)))
(ess-proc-name ntry temp-dialect))) (buf-name-str (funcall
ess-gen-proc-buffer-name-function procname)) startdir buf method)
(ess-write-to-dribble-buffer (format "(inf-ess 1.1): procname=%s
temp-dialect=%s, buf-name=%s \n" procname temp-dialect buf-name-str))
(cond ((and (not (comint-check-proc (current-buffer))) (eq major-mode
(quote inferior-ess-mode))) (setq startdir (if
ess-ask-for-ess-directory (ess-get-directory defdir temp-dialect
procname) defdir) buf (current-buffer) buf-name-str (buffer-name)
method 1)) ((get-buffer buf-name-str) (setq buf (get-buffer
buf-name-str) method 2)) (t (setq startdir (if
ess-ask-for-ess-directory (ess-get-directory defdir temp-dialect
procname) defdir) buf (if ess-ask-about-transfile (let (...) (if ...
... ...)) (get-buffer-create buf-name-str)) method 3)))
(ess-write-to-dribble-buffer (format "(inf-ess 2.0) Method #%d
start=%s buf=%s\n" method startdir buf)) (set-buffer buf)
(ess-setq-vars-local ess-customize-alist) (ess-write-to-dribble-buffer
(format "(inf-ess 2.1): ess-language=%s, ess-dialect=%s buf=%s \n"
ess-language ess-dialect (current-buffer))) (if startdir (setq
default-directory startdir)) (let* ((ess-directory (or startdir
ess-directory)) (infargs (or ess-start-args inferior-ess-start-args))
(special-display-regexps nil) (special-display-frame-alist
inferior-ess-frame-alist) (proc (get-process procname))) (if
inferior-ess-own-frame (setq special-display-regexps (quote ("."))))
(if (and proc (comint-check-proc (process-buffer proc))) (progn
(ess-write-to-dribble-buffer (format "(inf-ess ..): popping to
proc\n")) (pop-to-buffer (process-buffer proc))) (let* ((symbol-string
(concat "inferior-" inferior-ess-program "-args")) (switches-symbol
(intern-soft symbol-string)) (switches (if ... ...))) (set-buffer buf)
(inferior-ess-mode) (ess-write-to-dribble-buffer (format "(inf-ess
3.0): prog=%s, start-args=%s, echoes=%s\n" inferior-ess-program
infargs comint-process-echoes)) (setq ess-local-process-name procname)
(goto-char (point-max)) (if ess-history-file (if (eq t
ess-history-file) (set ... ...) (if ... nil ...))) (if
ess-history-file (progn (setq comint-input-ring-file-name ...)
(comint-read-input-ring))) (set-buffer (if switches
(inferior-ess-make-comint buf-name-str procname infargs switches)
(inferior-ess-make-comint buf-name-str procname infargs)))
(set-process-sentinel (get-process procname) (quote
ess-process-sentinel)) (let ((conselt ...)) (if conselt nil (setq
ess-process-name-list ...))) (ess-make-buffer-current) (goto-char
(point-max)) (setq ess-sl-modtime-alist nil) (set-process-filter
(get-process procname) (quote inferior-ess-output-filter))
(inferior-ess-mark-as-busy (get-process procname))
(process-send-string (get-process procname) "\n") (if no-wait nil
(ess-write-to-dribble-buffer "(inferior-ess: waiting for process to
start (before hook)\n") (ess-wait-for-process (get-process procname)
nil 0.01)) (ess-process-put (quote funargs-cache) (make-hash-table
:test (quote equal))) (ess-process-put (quote funargs-pre-cache) nil)
(process-put (get-process procname) (quote accum-buffer-name) (format
" *%s:accum*" procname)) (set (make-local-variable (quote
syntax-begin-function)) (function
inferior-ess-goto-last-prompt-if-close)) (set (make-local-variable
(quote font-lock-fontify-region-function)) (function
inferior-ess-fontify-region)) (run-hooks (quote ess-post-run-hook))
(ess-load-extras t) (if no-wait nil (ess-write-to-dribble-buffer
"(inferior-ess 3): waiting for process after hook")
(ess-wait-for-process (get-process procname)))) (save-current-buffer
(set-buffer buf) (rename-buffer buf-name-str t)) (if (and
inferior-ess-same-window (not inferior-ess-own-frame))
(switch-to-buffer buf) (pop-to-buffer buf))))))
  inferior-ess("--no-readline --no-restore-history --no-save  "
((ess-local-customize-alist quote R-customize-alist)
(ess-eldoc-function quote ess-R-eldoc-function) (ess-dialect . "R")
(ess-suffix . "R") (ess-ac-sources quote (ac-source-R))
(ess-company-backends quote ((company-R-args company-R-objects)))
(ess-build-tags-command . "rtags('%s', recursive = TRUE, pattern =
'\\\\.[RrSs](rw)?$',ofile = '%s')") (ess-traceback-command .
"local({cat(geterrmessage(), \"----------------------------------
\n\", fill=TRUE);try(traceback(), silent=TRUE)})\n")
(ess-call-stack-command . "traceback(1)\n") (ess-eval-command .
".ess.eval(\"%s\", FALSE, FALSE, file=\"%f\")\n")
(ess-eval-visibly-command . ".ess.eval(\"%s\", TRUE, TRUE, 300,
file=\"%f\")\n") (ess-eval-visibly-noecho-command . ".ess.eval(\"%s\",
FALSE, TRUE, 300, file=\"%f\")\n") (ess-load-command .
".ess.source(\"%s\", FALSE, FALSE)\n") (ess-load-visibly-command .
".ess.source(\"%s\", TRUE, TRUE, 300)\n")
(ess-load-visibly-noecho-command . ".ess.source(\"%s\", FALSE, TRUE,
300)\n") (ess-dump-filename-template ess-replace-regexp-in-string "S$"
ess-suffix ess-dump-filename-template-proto)
(ess-help-web-search-command quote ess-R-sos) (ess-mode-syntax-table .
R-syntax-table) (ess-mode-editing-alist . R-editing-alist)
(ess-change-sp-regexp . ess-R-change-sp-regexp) (ess-help-sec-regex .
ess-help-R-sec-regex) (ess-help-sec-keys-alist .
ess-help-R-sec-keys-alist) (ess-loop-timeout . ess-S-loop-timeout)
(ess-cmd-delay . ess-R-cmd-delay) (ess-function-pattern .
ess-R-function-pattern) (ess-object-name-db-file . "ess-r-namedb.el")
(ess-smart-operators . ess-R-smart-operators) (inferior-ess-program .
inferior-R-program-name) (inferior-ess-objects-command .
inferior-R-objects-command) (inferior-ess-font-lock-keywords quote
inferior-R-font-lock-keywords) (inferior-ess-search-list-command .
"search()\n") (inferior-ess-help-command .
inferior-ess-r-help-command) (inferior-ess-help-filetype)
(inferior-ess-exit-command . "q()") (inferior-ess-exit-prompt . "Save
workspace image? [y/n/c]: ") (inferior-ess-start-file)
(inferior-ess-start-args . "") (ess-error-regexp-alist .
ess-R-error-regexp-alist) (ess-describe-object-at-point-commands quote
ess-R-describe-object-at-point-commands) (ess-STERM . "iESS")
(ess-editor . R-editor) (ess-pager . R-pager) (prettify-symbols-alist
quote (("<-" . 8592) ("<<-" . 8606) ("->" . 8594) ("->>" . 8608)))
(ess-language . "S") (inferior-ess-exit-command . "q()\n")
(inferior-ess-language-start eval inferior-S-language-start)
(comint-use-prompt-regexp . t) (comint-process-echoes . t)
(inferior-ess-primary-prompt . "> ") (inferior-ess-secondary-prompt .
"+ ") ...) nil)
  (let* ((r-always-arg (if (or ess-microsoft-p (eq system-type (quote
cygwin))) "--ess " (if (not ess-R-readline) "--no-readline ")))
(r-start-args (concat r-always-arg inferior-R-args " " (if start-args
(read-string (concat "Starting Args" (if r-always-arg ...) " ? "))
nil))) (cust-alist (copy-alist R-customize-alist)) (gdbp
(string-match-p "gdb" r-start-args)) use-dialog-box) (if gdbp (progn
(setcdr (assoc (quote inferior-ess-secondary-prompt) cust-alist)
(format "\\(%s\\)\\|\\((gdb) \\)" (cdr (assoc (quote
inferior-ess-secondary-prompt) cust-alist)))))) (if (or
ess-microsoft-p (eq system-type (quote cygwin))) (progn (setq
use-dialog-box nil) (if ess-microsoft-p (progn (setq
default-process-coding-system (quote (undecided-dos .
undecided-dos))))))) (inferior-ess r-start-args cust-alist gdbp)
(ess-process-put (quote funargs-pre-cache) ess-R--funargs-pre-cache)
(remove-hook (quote completion-at-point-functions) (quote
ess-filename-completion) (quote local)) (add-hook (quote
completion-at-point-functions) (quote ess-R-object-completion) nil
(quote local)) (add-hook (quote completion-at-point-functions) (quote
ess-filename-completion) nil (quote local)) (setq comint-input-sender
(quote inferior-R-input-sender)) (if gdbp (progn (ess-process-put
(quote callbacks) (quote (R-initialize-on-start)))
(process-send-string (get-process ess-local-process-name) "\n"))
(ess-wait-for-process) (R-initialize-on-start))
(ess-write-to-dribble-buffer (format "(R):
inferior-ess-language-start=%s\n" inferior-ess-language-start)))
  R(nil)
  call-interactively(R record nil)
  command-execute(R record)
  execute-extended-command(nil "R")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)




On Sun, May 17, 2015 at 9:03 PM, Vitalie Spinu <spinuvit at gmail.com> wrote:
>
> Could you please post the backtrace that you see on C-g (with "M-x
> toggle-debug-on-quit" beforehand).
>
>   Vitalie
>
>  >>> Marius Hofert on Sun, 17 May 2015 17:31:44 -0400 wrote:
>
>  > On Sun, May 17, 2015 at 5:28 PM, Vitalie Spinu <spinuvit at gmail.com> wrote:
>  >> >>> Marius Hofert on Sun, 17 May 2015 17:21:45 -0400 wrote:
>  >>
>  >> > There are no *R* buffers (except those I have open locally).
>  >>
>  >> That's strange. Looks like it's not getting to R's initialization
>  >> then. What is your ESS version?
>  >>
>
>  > It's 15.03-1, but that's a good point. It's only my 'local' ESS
>  > installation. The remote server does not have ESS installed. Since
>  > this works via tramp, I'm assuming it's not needed, but may it is (?)
>
>  >> Vitalie



More information about the ESS-help mailing list