In RStudio, a really neat feature is the ability to run code written next to Roxygen tage (#') by using Ctrl (Cmd) + Enter. The Roxygen tags do not get sent to the console. In VSCode I have to highlight the code and hit Ctrl (Cmd) + Enter. Not a particularly huge concern, but a nice to have.
An example:
#' print("hello world")
my_fun <- function() ...
Having the cursor on the first line and hitting Ctrl (Cmd) + Enter would produce [1] "hello world" in RStudio but in VSCode it would send my_fun to the console.
In RStudio, a really neat feature is the ability to run code written next to Roxygen tage (
#') by using Ctrl (Cmd) + Enter. The Roxygen tags do not get sent to the console. In VSCode I have to highlight the code and hit Ctrl (Cmd) + Enter. Not a particularly huge concern, but a nice to have.An example:
Having the cursor on the first line and hitting Ctrl (Cmd) + Enter would produce
[1] "hello world"in RStudio but in VSCode it would sendmy_funto the console.