help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't open R in Emacs


From: Marc Schwartz
Subject: Re: Can't open R in Emacs
Date: Sat, 04 Aug 2007 09:43:51 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 04.08.2007 um 00:30 schrieb Hosley:
>
>> I can open R by clicking on my desktop "R 2.5.0" icon, or by opening
>> from "C:\Program Files\R\R-2.5.0\bin\Rgui.exe"
>
> You certainly won't be running R's GUI in GNU Emacs, you'll need to
> find the "simple" command line oriented utility, R.exe or such. The
> Swedish URL you provided mentions C:\tools\bin\ to contain R.

No.  The 'tools' directory is for other purposes, such as compiling R from 
source
and/or creating add-on packages.

In this case, the terminal based executable on Windows, as per the link I 
provided is called 'Rterm.exe'.

Note also that the full path to the application, which on Windows has a space
in it, needs to use the '~1' contraction. So for R 2.5.1 it should be something
like:

  (setq inferior-R-program-name "C:/progra~1/R/R-2.5.1/bin/Rterm.exe")

if you are going to use that approach in .emacs. Again, that is described in 
the 
aforementioned ESS manual.

HTH,

Marc


reply via email to

[Prev in Thread] Current Thread [Next in Thread]