Ctrl+Enter running the entire program

2 visualizaciones (últimos 30 días)
Vaibhav Chhaya
Vaibhav Chhaya el 10 de Jun. de 2019
Comentada: Paul de Jong el 4 de Sept. de 2021
When I try to run a particular cell of my progeam using the shortcut Ctrl+Enter, it is running the entire program. How do I solve this issue?

Respuestas (1)

KSSV
KSSV el 10 de Jun. de 2019
YOu should use %% this at the start and at the end to run a section.
  1 comentario
Paul de Jong
Paul de Jong el 4 de Sept. de 2021
I like to make an outline of my code, so there are incomplete variables in the sections I have not gotten to yet. The issue happens when I just want to run the top of my code but there is an error below that block. I've resorted to using %{ and %}.
It would be great if the %% section mechanism worked so I could test sections as I finish them. Is it a setting?
Thanks!

Iniciar sesión para comentar.

Categorías

Más información sobre R Language en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by