'Is there a similar command in VSC like "run App" in RStudio?

I am working with R in Visual Studio Code, which is usually working fine. To start my Shiny app I used: (source("app.R"))

Until yesterday, this worked fine, just as "run App" button in RStudio, but now I get some different behavior in some lines of code of my app leading to an error. What is working in VSC is to run all line of "app.R" in a sequence separately.

Is there a similar command or button in VSC like the "run App" button in RStudio?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source