title: How to step through an R script from the beginning?
body: <p>I want to step through an R script.  I saw the "debug" command while searching for how to do this but that seems to only apply to functions.  This script doesn't have any functions.</p>
  
  <p>The "browser" command looked promising so I put "browser()" as the first line of my script but it didn't seem to do anything when I ran it.  </p>
  
  <p>How do I get the script to pause on the first line so I can step through it?</p>