How do I advance code I'm writing to next line without executing it?

Hello,

I'm just starting out in R and when I try to advance to the next line to write code without running it (Shift+Enter), the code is executed anyway. I've been told Shift+Enter is what you do to advance to next line to continue with code, but it isn't working for me. What would I need to do get to next line without running code?

You can always just press enter (or down arrow) on the script file you are working on if shift + enter is not working . It will automatically go to the next line without running the code. ctrl+enter is what triggers the running of code.

There might be something strange going on with your settings:

image

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.