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

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Jan 8 14:05:42 CET 2002


Agustin Lobo <alobo at ija.csic.es> writes:

> Happy 2002 to everyone.
> 
> I'm following Greg's directions (with some pain, as I'm not
> an experienced (x)emacs user) and I find that I cannot use 
> fix() in the R session. 
> Before trying (x)emacs I normally had
> a "raw" R sesion in an xterm and an editor in another window.
> When I was done writing the function I run fix() and copied and pasted
> the function to the editor session that had been opened by fix().
>  
> I understand that, using (x)emacs I can save the function to a
> text file and source() it in R, but this seems like an odd
> procedure considering that both R and the function are in 
> windows of the same (x)emacs environment. Is there any simpler
> way of passing the edited function to R?

You don't use fix() under ESS. Instead, you want to take a look at

C-c C-d         ess-dump-object-into-edit-buffer

and in the edit buffer

C-c ESC b       ess-eval-buffer-and-go

(use C-h m to get more info on current keybindings etc.).

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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