ESS is not finding R by default because he did not install R into the
default location.
He installed into
C:/Dokumente und Einstellungen/username/Eigene Dateien"

The default location is
(in English locales)
c:/Program Files/R/

I think that will be
c:/Programme/R/
in German.  R will put it in the right place as long as you don't overrule
the default.


Kasper's advice is based on accepting the default location when R is
installed.

On Mon, Jan 21, 2013 at 12:43 PM, Kasper Daniel Hansen <
kasperdanielhansen@gmail.com> wrote:

> 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@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@wiwi.uni-bielefeld.de
> >> <mailto:ojones@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@r-project.org <mailto:ESS-help@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@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/ess-help
>

	[[alternative HTML version deleted]]

