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
runSource and knitRmd wrap the current file’s path in some R code and send that code to the terminal.
We could generalise this to a function wrapPath (or something) that has as parameters the R function name and any additional parameters to pass to that R function. Both runSource and knitRmd could be refactored to use wrapPath.
The key benefit of this is that then users could add their own similar commands in their settings.json file, without needing vscode-R itself to be changed.
Activity
[-]Generalise runSource, knitRmd[/-][+]Run code using current file name[/+]renkun-ken commentedon Feb 22, 2020
Closed by #237.