Saturday, September 06, 2008

Good article on matching methods

Very good article indeed. The authors have made quite a few number of excellent points.

Friday, September 05, 2008

SciViews key binding

  • Shift-F1 for contextual help on the word under the cursor in the editor
  • Alt-Shift-F1 for help search selected word (make sure to look at the Web menu too)
  • Ctrl-T to expand abbreviation (try typing func, then hit Ctrl-T in a file previously saved with a .R extension; a tooltip also appears when the sequence you type corresponds to a recognize abbreviation... and there are dozens of them already defined!)
  • Ctrl-Return is the same as Return but also run the line of code in R
  • Ctrl-Shift-R to run selection and/or code line by line
  • Ctrl-Shift-A to run all code in the current document in R
  • Ctrl-Shift-H to run a paragraph (consecutive lines of R code)
  • Ctrl-Shift-M to run code between two bookmarks (define bookmarks first!)
  • Ctrl-Shift-S to summarize the object whose name is under the cursor
  • Ctrl-Shift-L to plot the object whose name is under the cursor
  • F3 to search next occurence of the word under the cursor
  • F4 to list R objects in memory (in .GlobalEnv)
  • F7 to set the R working directory to the dir of the current edited file in Komodo