My R is not running correctly


when I run my r file it only runs my comments, not my code. Every time I open my file it makes a complete run and then it will only run my comments. How can I fix this issue?


The question is not all that clear. Do you mean this:

In R Studio, when you open an R script and try to run the lines of code by clicking on the Run button, the cursor moves from line to line, but only the comments appear in the console window?