Jayanth,

This is very strange.

You should not need the line about inferior-R-program name.
Since you installed R in the standard location, ESS will find R
automatically when emacs is
started.

Please run with
   emacs -Q
to turn off all your local and personal customizations.
Then enter the line
M-: (require 'ess-site) <RET>

Let the list know what happens.

The normal way to respond to emacs freezing is C-g.

Rich




On Tue, May 10, 2011 at 10:44 PM, Jayanth Rajan <jayanthrajan@gmail.com>wrote:

> I am running GNU Emacs 22.2.1 on a Windows 7 laptop.
>
>   1. I downloaded the latest ESS package to c:/emacs/site-lisp/ess-5.13
>   2. I added the following lines to .emacs
>      1. (require 'ess-site)
>      2. (setq inferior-R-program-name
>      "c:/progra~1/R/R-2.13.0/bin/i386/Rterm.exe")
>   3. I verified that I have a buffer named *ESS*
>   4. When I type M-x R, emacs prompts me for the starting directory and
>   then* emacs freezes*
>
> I have Rterm.exe configured to run in Windows XP (Service Pack 3)
> compatibility mode since R will crash Windows every now and then when
> running a statistical package.  If I disable the compatibility mode, M-x R
> successfully starts a R inferior process.  Running Rterm.exe as
> administrator did not help nor did picking compatibility mode for all
> users.
>
> Is there a workaround to run R within emacs when Rterm.exe is run in
> compatibility mode?
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>

	[[alternative HTML version deleted]]

