[ESS] ESS default R not the newest (MS Windows)

Vitalie Spinu spinuvit at gmail.com
Fri Nov 14 22:42:58 CET 2014


That's strange (but I always wondered how windows works). In any case,
ess simply calls whatever is in inferior-R-program-name, which when
called from terminal or emacs shell should give you the same R as ESS
does.

  Vitalie

 >>> "Boylan, Ross" on Fri, 14 Nov 2014 18:37:16 +0000 wrote:

 > My exec-path doesn't appear to have any references to my personal directories, or to any R-specific directories:
 > exec-path is a variable defined in `C source code'.
 > Its value is
 > ("c:/Windows/system32" "C:/Windows" "C:/Windows/System32/Wbem"
 > "C:/Windows/System32/WindowsPowerShell/v1.0/" "C:/Program
 > Files/SAS/SharedFiles/Formats" "C:/Program Files/SAS/SharedFiles/Secure"
 > "C:/Program Files/SASHome/Secure/ccme4" "C:/Program Files/TortoiseHg/"
 > "C:/Program Files/Mozilla Firefox" "C:/Windows/system32" "C:/Windows"
 > "C:/Windows/System32/Wbem" "C:/Windows/System32/WindowsPowerShell/v1.0/"
 > "C:/Program Files/SAS/SharedFiles/Formats" "C:/Program
 > Files/SAS/SharedFiles/Secure" "C:/Program Files/TortoiseHg/"
 > "C:/Windows/system32" "C:/Windows" "C:/Windows/System32/Wbem"
 > "C:/Windows/System32/WindowsPowerShell/v1.0/" "C:/Program
 > Files/SAS/SharedFiles/Formats" "C:/Program Files/SAS/SharedFiles/Secure"
 > "C:/Program Files/TortoiseHg/" "c:/Python32" "c:/Python32"
 > "c:/MikTeX/miktex/bin/" "c:/Program Files/emacs-24.3/bin" "c:/Program
 > Files/emacs-24.3/lib-src/oo-spd/i386" "c:/Program
 > Files/emacs-24.3/lib-src/oo/i386")
 > ________________________________________
 > From: Vitalie Spinu [spinuvit at gmail.com]
 > Sent: Thursday, November 13, 2014 8:49 PM
 > To: Boylan, Ross
 > Cc: Richard M. Heiberger; ess-help at stat.math.ethz.ch
 > Subject: Re: [ESS] ESS default R not the newest (MS Windows)

 > R is the default command which basically picks R from your
 > exec-path. The newest R is further on your exec-path.

 >   Vitalie

 >>> "Boylan, Ross" on Thu, 13 Nov 2014 23:17:02 +0000 wrote:

 >> I haven't set a variable; my only ESS related line in .emacs is
 >> (load "c:/Users/rdboylan/Documents/GitHub/ESS/lisp/ess-site.el")

 >> I see nothing in .emacs or .emacs.d/ that looks related, and search (via Windows Explorer) in emacs.d did not turn up any references to ess-rterm.

 >> Oddly, the path seems right:
 >> ess-rterm-version-paths is a variable defined in `ess-custom.el'.
 >> Its value is ("C:/Program Files/R/R-3.1.2/bin/i386/Rterm.exe")
 >> Original value was nil
 >> ________________________________________
 >> From: Richard M. Heiberger [rmh at temple.edu]
 >> Sent: Thursday, November 13, 2014 3:05 PM
 >> To: Boylan, Ross
 >> Cc: ess-help at stat.math.ethz.ch
 >> Subject: Re: [ESS] ESS default R not the newest (MS Windows)

 >> to find your personal directory at all, you set a variable.
 >> you will need to unset it.

 >> See C-h v ess-rterm-version-paths
 >> for details.

 >> On Thu, Nov 13, 2014 at 5:58 PM, Boylan, Ross <Ross.Boylan at ucsf.edu> wrote:
 >>> I just installed the latest R, but when I start emacs (using ess from git yesterday)  and M-x R I get version 3.0.2.  This is on Win 7.  Oddly, M-x R-newest gets me 3.1.2.
 >>> 
 >>> I believe this is because 3.0.2, and a bunch of earlier files, are in my personal directory (C:\Users\rdboylan\Documents\R), while the latest R is in a system directory (C:\Program Files\R).
 >>> 
 >>> Is there some way I can convince ESS to use the latest R as default?  Is the current behavior intentional on the theory that personal installations are preferred?
 >>> 
 >>> Ross Boylan
 >>> ______________________________________________
 >>> ESS-help at r-project.org mailing list
 >>> https://stat.ethz.ch/mailman/listinfo/ess-help

 >> ______________________________________________
 >> ESS-help at r-project.org mailing list
 >> https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list