FIX R startup dir
This commit is contained in:
parent
3d2e1cc97b
commit
11eea640ab
|
@ -978,7 +978,9 @@ Oh yes, and to get linting to work, also install r-lintr in the conda environmen
|
||||||
(setq inferior-R-program "R"
|
(setq inferior-R-program "R"
|
||||||
inferior-R-args "--quiet --no-save"
|
inferior-R-args "--quiet --no-save"
|
||||||
ess-history-file "session.Rhistory"
|
ess-history-file "session.Rhistory"
|
||||||
ess-history-directory (substitute-in-file-name "${XDG_CONFIG_HOME}/r/"))))
|
ess-history-directory (substitute-in-file-name "${XDG_CONFIG_HOME}/r/")
|
||||||
|
;; always start from the current file
|
||||||
|
ess-startup-directory 'default-directory)))
|
||||||
|
|
||||||
;; ;; fast compile
|
;; ;; fast compile
|
||||||
;; (defun nd/ess-r-add-env (orig-fun inf-buf proc-name start-args)
|
;; (defun nd/ess-r-add-env (orig-fun inf-buf proc-name start-args)
|
||||||
|
|
Loading…
Reference in New Issue