[ESS] M-x R pointing to most recent installed version of R?

Joseph Rigdon jrigdon at stanford.edu
Mon Oct 31 03:36:01 CET 2016


On my Macbook (OS X Yosemite), I recently downloaded R version 3.3.1 and now when I type M-x R into Emacs, the R version that loads is still R version 3.2.2 (not 3.3.1).

FYI, here is what my .Emacs file looks like:

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(inferior-R-program-name "R"))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(default ((t (:inherit nil :stipple nil :background "White" :foreground "Black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 160 :width normal :foundry "nil" :family "Menlo")))))

(setenv "PATH" (concat (getenv "PATH") ":/usr/bin"))

Can you make any suggestions so that M-x R points to the latest version of R (3.3.1)?  I experimented with changing the large letters to “:/usr/texbin” and other locations on my computer where I thought R 3.3.1 may be installed but no luck….any ideas?


----
Joseph Rigdon, PhD
Quantitative Sciences Unit
Stanford University School of Medicine
1070 Arastradero Road #3C3104, MC 5559
Palo Alto, CA 94304
https://med.stanford.edu/profiles/joseph-rigdon







	[[alternative HTML version deleted]]



More information about the ESS-help mailing list