File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -63,18 +63,18 @@ debug(nmfconsensus) # use the debugger for the "nmfconsensus" function
63
63
runNMF() # run the code again
64
64
```
65
65
66
- It will show the chunk of code that is about to be executed. Within the debugger,
67
- you can type in the following commands:
66
+ The debugger will show the chunk of code that is about to be executed. Within the
67
+ debugger, you can type in the following commands:
68
68
69
69
* ** < ; Enter> ; or n:** execute the next single statement
70
70
* ** c:** execute the next block
71
71
* ** Q:** quit the debugger
72
72
73
73
Use the ` Enter ` key to step through the statements and hit ` c ` if you get stuck
74
- in a long loop. During debugging, you can inspect variables and modify them as if
75
- you were in a standard R session.
74
+ in a long loop (twice for nested loops) . During debugging, you can inspect variables
75
+ and modify them as if you were in a standard R session.
76
76
77
- If you no longer want to use the debugger you can quit it and then either call
77
+ If you no longer want to use the debugger you can quit it with ` Q ` and then either call
78
78
` undebug() ` on your function or just ` source() ` your script file again.
79
79
80
80
** Correcting errors is fine, but why should I optimize my code when it works?**
You can’t perform that action at this time.
0 commit comments