The R way of programming is to run code directly from editor to console without having to compile the hole script. One can do this by pressing Ctrl+R in the RGui or Ctrl+Ent