2 followers Follow

stuck on "+"

Newbie here. Occasionally I hit 'return' to execute a command before completing it. RStudio offers "+" at a line, clearly waiting for more. Usually the "more" is a ")", but even in that case it won't complete. Then everything is, for practical purposes, hung. Please help. /TIA

John Anton

Official comment


Hi John,

The "+" indicates that R doesn't think you've finished your command yet. As you mentioned, usually this is because of a missing parenthese or quotation mark. If you still can't figure it out though, you can cancel out of the command back to the console line by hitting the Escape key.

If you're looking for more information on learning R, you might find the following resources helpful:


Ian Pylvainen

1 comment