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

Jeffrey J. Hallman jhallman at frb.gov
Mon Jan 14 21:13:38 CET 2008


Jonathan Baron <baron at psych.upenn.edu> writes:
> 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.

Is there a way to turn this off?  I sometimes have to use variable names with
underscores in them (not by my choice) and having to defeat ESS's attempts to
replace the underscores with '<-' can really be annoying.

-- 
Jeff




More information about the R-help mailing list