I was trying to use the browser()
command to debug earlier.
Right now, I kept getting the following in the console input window:
Browse[13]>
Is it possible to get out of this situation and just get back to the normal console window?
Q to stop debug mode, terminate the function, and return to the R prompt.
browser() provides the user with the possibility to inspect the elements of the function environment. y <- y * 2 performs some additional calculations with the new variable y. Note that the previous value that we have calculated in step 2) is overwritten. y returns the final y-value as output from the function.
To exit debug mode, press Alt+B followed by D. at the Command Prompt to exit debug mode.
The help page ?browser
says that typing c
and hitting enter will get you out of the browser and let the function continue to run or typing Q
and hitting enter will exit the browser and the function and take you back to the top-level prompt.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With