Output on the CONSOLE

Whenever I run a line code (for example on line 90), all previous codes (from line 1-89) are automatically run and displayed on the console. I want to do away with this and will appreciate help on how to solve this problem.

Hi Jojo,

You can use crtl-enter to run just the line of code where the cursor is.

See here for a thorough explanation.

hello Pete,
yeah, using ctrl+enter should run only the line code on which the cursor is located. however, in my case using this command runs all the codes on the Source page.

Ah. Take a look at: Tools -> Global Options -> Code -> Execution

You probably want that set to either Current line or Multi-line R statement

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