You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okay, I found the way to run a line (just like RStudio, its Cmd + Enter, and the run source utility is useful. However, I'm wondering about running just individual code chunks, e.g.
code_chunk <- function(x) {
cat("I am a chunk")
}
code_chunk_2 <- x %>%
mutate(...) %>%
transmute(...)
If I play my cursor at the beginning of line 1 with the first code_chunk, and enter C-c (aka Ctrl+c, or some other shortcut, say to run a region, like Ctrl+r) then it would run all three lines at once (the whole chunk), and not run code_chunk_2, and if this could be done without necessarily highlighting the chunk prior to running the code.
Just wondering if you might have some insight on how this could be done, or alternately if this could be implemented in an update?
The text was updated successfully, but these errors were encountered:
In #26, It's very useful function.
The text was updated successfully, but these errors were encountered: