Skip to content

Commit

Permalink
minor comments #2
Browse files Browse the repository at this point in the history
  • Loading branch information
mschubert committed Jan 9, 2014
1 parent df5898e commit 6d89fc0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,18 @@ debug(nmfconsensus) # use the debugger for the "nmfconsensus" function
runNMF() # run the code again
```

It will show the chunk of code that is about to be executed. Within the debugger,
you can type in the following commands:
The debugger will show the chunk of code that is about to be executed. Within the
debugger, you can type in the following commands:

* **<Enter> or n:** execute the next single statement
* **c:** execute the next block
* **Q:** quit the debugger

Use the `Enter` key to step through the statements and hit `c` if you get stuck
in a long loop. During debugging, you can inspect variables and modify them as if
you were in a standard R session.
in a long loop (twice for nested loops). During debugging, you can inspect variables
and modify them as if you were in a standard R session.

If you no longer want to use the debugger you can quit it and then either call
If you no longer want to use the debugger you can quit it with `Q` and then either call
`undebug()` on your function or just `source()` your script file again.

**Correcting errors is fine, but why should I optimize my code when it works?**
Expand Down

0 comments on commit 6d89fc0

Please sign in to comment.