[ESS] [R] is it safe to replace every "<-" by "=" in R code?

markleeds at verizon.net markleeds at verizon.net
Mon Jan 14 03:17:12 CET 2008


>From: Jonathan Baron <baron at psych.upenn.edu>
>Date: 2008/01/13 Sun PM 07:46:04 CST
>To: "Richard M. Heiberger" <rmh at temple.edu>
>Cc: r-help at stat.math.ethz.ch, 'Nasser Abbasi' <nma at 12000.org>
>Subject: Re: [R] is it safe to replace every "<-" by "="

Hi Jonathan: I realize that your comment was to the R-list but, since you brought that up, do you know how to actually type a real underscore in ESS for cases where you want to, for example, type seq_along ? I just started using ESS a few weeks ago and it's great but I noticed that recently and I had to comment a line, make the seq_along on it and then copy it somwhere else.  

also, is there a way to shade a region of code 
( for  when you want to run a region ) without using the mouse ?  I like avoiding the mouse if it's possible
?

Thanks to Sundar and Spencer for getting me into ESS
and of course to the people who built ESS !!!!
It's quite neat and I probably only know 1% of it.

                                  Mark

                        




>I think it is worth pointing out that, if you use ESS with (X)emacs,
>" <- " (with spaces) is produced when you type "_".  It requires only two
>keystrokes (shift and -), and the spaces are done for you. The = sign
>requires three because you need to type the spaces on each side.
>
>Jon
>
>______________________________________________
>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.




More information about the ESS-help mailing list