Post

2 followers Follow
0
Avatar

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

Avatar

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: https://support.rstudio.com/hc/en-us/articles/200552336-Getting-Help-with-R

Thanks,
Ian

Ian Pylvainen

1 comment