next up previous contents index
Next: Rcmd Up: Rgui Previous: Setting Working Directory   Contents   Index


Writing, Editing Commands

It is sometimes difficult to write your R commands directly in Rgui, as if you need to change or correct something later, you need to keep pressing the up/down arrow keys. From my experience, I find it is best to write my R commands in a note-pad equivalent programme. Then copy a line or a block of lines into Rgui. This makes the editing much easier, and also makes it much easier to save your commands. Another suggestion for Microsoft Word users: when pasting your R commands into Word, change the fonts to Courier New! This will make your code look much nicer (try it!).

Ko-Kang Wang 2002-10-10