Console New Line starts with + instead of > how do you change that


#1

my console shows new line starting with + instead of > how do I change that?
I don't think it is a big deal, but it is bothering me...
my screen looks like this
+
+
+
+


#2

That usually means that it's waiting for you to finish the line of code, e.g. with a closing parenthesis or brace. To give up on a line, try Ctrl-C.


#3

As an example of that, usually for me it happens when I type something similar to this:

new_function <- function(x){
  x^2

Since closing } is missing, R will print + at the beginning of the line expecting me to close the expression. As @alistaire said, you can drop it with Ctrl + C or with Esc


#4

Thank You! It worked..