[ESS] Telling ess where to look for R

Oliver Jones ojones at wiwi.uni-bielefeld.de
Mon Jan 21 18:49:45 CET 2013


Ok,

but the problem is that ess finds R! But it finds the wrong one!
It always finds R-2.10.1 (which is the one properly installed) instead of one of the two more 
recent R versions one can find in my home directory I specified in ess-directory-containing-R.
If it is of help in my home directory I have an directory R and in this one are two 
directories for "R-2.15.0" and "R-2.15.2".


Am 21.01.2013 18:43, schrieb Kasper Daniel Hansen:
> Oliver,
>
> What Rich and Rodney are trying to figure out, is why this does not
> work per default.  In general, you do not need to set a variable to
> find R, ESS should find it automatically.  There are exceptions of
> course.  So I think they would like you to remove what you have in
> .emacs and then see what happens.
>
> Kasper
>
> On Mon, Jan 21, 2013 at 12:38 PM, Oliver Jones
> <ojones at wiwi.uni-bielefeld.de>  wrote:
>> Ok,
>>
>> do I load ess-site via
>> M-x load-file RET
>> and then the file ess-site.el from emacs-24.2\site-lisp\ess-12.09-2\lisp\?
>>
>> If so then I get still the same result that the path to R in my variable
>> ess-directory-containing-R is not recognized.
>>
>>
>>
>>
>> Am 21.01.2013 18:19, schrieb Richard M. Heiberger:
>>>
>>> There is probably something in your .emacs or site-start.el that is
>>> interfering.
>>>
>>>
>>> Please start
>>> emacs -Q
>>> then load ess-site
>>> then set ess-directory-containing-R
>>> then start R
>>>
>>> Rich
>>>
>>> On Mon, Jan 21, 2013 at 11:48 AM, Oliver Jones
>>> <ojones at wiwi.uni-bielefeld.de
>>> <mailto:ojones at wiwi.uni-bielefeld.de>>  wrote:
>>>
>>>      Hi everyone,
>>>
>>>      I just found out how to tell ess where to look for R under Windows XP.
>>>      Maybe other have similar problems and this helps...
>>>      Maybe I found a bug?
>>>
>>>      Situation:
>>>      Windows XP; Emacs 24.2.1; ESS version 12.09-2; R-2.10.1 properly
>>> installed and two more
>>>      recent versions of R in my folder "C:/Dokumente und
>>> Einstellungen/username/Eigene Dateien"
>>>
>>>      M-x customize-variable RET ess-directory-containing-R RET
>>>
>>>      and setting it to "C:/Dokumente und Einstellungen/username/Eigene
>>> Dateien" doesn't help,
>>>      i.e. ess always starts the old (but properly installed) R-2.10.1.
>>>
>>>      One has to change the inferior-R-program-name, i.e.
>>>
>>>      M-x customize-variable RET inferior-R-program-name RET
>>>
>>>      and setting that one to "C:/Dokumente und
>>> Einstellungen/username/Eigene Dateien".
>>>
>>>      So for what do we need/use the variable ess-directory-containing-R?
>>>
>>>      Best
>>>      Oliver
>>>      --
>>>
>>> ___________________________________________________________________________________
>>>
>>>      Universität Bielefeld
>>>      Fakultät für Wirtschaftswissenschaften
>>>      Lehrstuhl für Ökonometrie und Statistik
>>>      Raum / room:  V9-108
>>>      Tel / phone: +49 (0)521 106 4895<tel:%2B49%20%280%29521%20106%204895>
>>>      http://www.wiwi.uni-bielefeld.__de/oekonometrie.html
>>>      <http://www.wiwi.uni-bielefeld.de/oekonometrie.html>
>>>
>>>      ________________________________________________
>>>      ESS-help at r-project.org<mailto:ESS-help at r-project.org>  mailing list
>>>      https://stat.ethz.ch/mailman/__listinfo/ess-help
>>>      <https://stat.ethz.ch/mailman/listinfo/ess-help>
>>>
>>>
>>
>> --
>> _______________________________________________________________________________
>>
>> Universität Bielefeld
>> Fakultät für Wirtschaftswissenschaften
>> Lehrstuhl für Ökonometrie und Statistik
>> Raum / room:  V9-108
>> Tel / phone:  +49 (0)521 106 4895
>> http://www.wiwi.uni-bielefeld.de/oekonometrie.html
>>
>> ______________________________________________
>> ESS-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help

-- 
_______________________________________________________________________________
Universität Bielefeld
Fakultät für Wirtschaftswissenschaften
Lehrstuhl für Ökonometrie und Statistik
Raum / room:  V9-108
Tel / phone:  +49 (0)521 106 4895
http://www.wiwi.uni-bielefeld.de/oekonometrie.html



More information about the ESS-help mailing list