[R] ESS with Xemacs? [vs. Emacs, slightly off topic]

Warnes, Gregory R gregory_r_warnes at groton.pfizer.com
Tue Jan 8 00:44:15 CET 2002


Probably what is happening is that emacs is checking if it is already
running and not starting separate executables.  Two solutions:

1) Open a second emacs window explicitly...

	open xemacs once with
		xemacs myfile.R
	then do 
		<Control>-x 5 2
	or 'File'->'New Frame'
	to get a second window.  In that one do <Meta>-X R.


   Or the other way around

	open xemacs once with
		xemacs -f R
	and then use 'File'->'Open in New Window' to open the second file.

2) Use gnuclient to open the second window...  (you may need to put
"(gnuserv-start)" in your .emacs file for this to work).

	xemacs -f R
	gnuclient myfile.R

	
-Greg


 >  -----Original Message-----
 >  From: baron at cattell.psych.upenn.edu
 >  [mailto:baron at cattell.psych.upenn.edu]
 >  Sent: Monday, January 07, 2002 12:16 PM
 >  To: r-help at stat.math.ethz.ch
 >  Subject: [R] ESS with Xemacs? [vs. Emacs, slightly off topic]
 >  
 >  
 >  I decided to try out Xemacs instead of Emacs in Linux (RH 7.2).
 >  After doing lots of configuration of Xemacs, I finally discovered
 >  a major problem.  
 >  
 >  With Emacs, when I use R, I start Emacs twice (at least), in
 >  different viewports, once as
 >   emacs -f R
 >  and once as
 >   emacs myfile.R
 >  
 >  Then I try commands in the first one, and, when they work (which
 >  isn't very often), I cut the command with C-w, switich to the
 >  other viewport, and yank it into myfile.R with C-y.  This takes
 >  very few keystrokes and does not require the mouse.  Then
 >  myfile.R has something I can re-run (about 1/10 the size of
 >  .Rhistory).
 >  
 >  It seems that you can't do this in Xemacs.  In particular, the
 >  kill buffer is not common to the various Xemacs processes that
 >  are running, unlike Emacs.
 >  
 >  I tried running the R process and myfile.R as bufffers in one
 >  Xemacs process, and this worked OK until I also tried help.  Then
 >  I had three buffers, and it took many many keystrokes to switch
 >  from one to the other.
 >  
 >  I know that some people really like Xemacs with R.  Can you give
 >  any advice?  In the meantime I've gone back to Emacs.  Sigh.
 >  
 >  Jon Baron
 >  -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
 >  -.-.-.-.-.-.-.-.-.-
 >  r-help mailing list -- Read 
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._


LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list