[R] R run under Emacs fatal errors halt execution

From: Stavros Macrakis <macrakis_at_alum.mit.edu>
Date: Thu, 13 Nov 2008 19:47:56 -0500

I am running R.exe/Rterm.exe 2.7.1 under Emacs 22.1 under the DOS shell under Windows XP. (My Cygwin installation is broken!) I am not currently using ESS:

> R.exe --vanilla

   R version 2.7.1 ...
> 1+1


This works fine until I hit an R error -- pretty much any error -- when the process halts and returns to the shell:

Wrong number of arguments error:

  > quote()
  Error in quote(): 0 arguments passed....   Execution halted

Syntax error:

  > )
  Error: unexpected ')' in ")"
  Execution halted

The same thing happens in R.exe and Rterm.exe.

How do I get R to catch the error and let me continue?



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 14 Nov 2008 - 00:49:34 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 14 Nov 2008 - 09:30:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive