Returning from the '+' to '>' prom

2020-07-06 04:53发布

问题:

I know the prompt changes from < to + when the command line in R expects you to complete the current command. Is there a way (say, shortcut key) to immediately terminate the command being written and revert from the '+' mode to the regular console '>'?

回答1:

Press 'Esc' key will bring you back to the prompt (<). You don't need to type word 'Esc'.



回答2:

I suspect you are using a usb keyboard that has chromatic color controls via software. It sometimes mess up the keys therefore simply do a factory reset of your keyboard via install software. Then pressing "Esc" will revert to the "greater than sign"