Waichler, Scott R
2005-Mar-05 00:58 UTC
[R] Emacs keystroke to toggle T/F for setting logical values
I'd like to have an Emacs keystroke that would let me toggle between T and F when editing logical settings in R code. I looked in the ESS documentation and in my O'Reilly emacs books but found nothing. Any ideas? Scott Waichler Pacific Northwest National Laboratory scott.waichler at pnl.gov
Adaikalavan Ramasamy
2005-Mar-05 13:54 UTC
[R] Emacs keystroke to toggle T/F for setting logical values
Not answering your question here directly but here is an alternative. Interactive search and replace TRUE for FALSE with M-% after highlighting the region that you are interested in. And then repeat for changing FALSE to TRUE. You can bind some function keys in your configuration file to simplify this a bit. Regards, Adai On Fri, 2005-03-04 at 16:58 -0800, Waichler, Scott R wrote:> I'd like to have an Emacs keystroke that would let me toggle between T > and F when editing logical settings in R code. I looked in the ESS > documentation and in my O'Reilly emacs books but found nothing. Any > ideas? > > Scott Waichler > Pacific Northwest National Laboratory > scott.waichler at pnl.gov > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
Maybe Matching Threads
- Can't get Sweave syntax highlighting with Emacs
- rimage doesn't install on Mac OS X 10.4
- Problem with R-2.1.0: install.packages() doesn't work
- Using an image background with graphics
- Possible to get a definition of a function from a package to use without invoking the package?