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
Many of VSCode-R's features use a background R process to perform tasks (e.g., help providers, previewing and knitting documents). We currently define the calls to R in-line, e.g.
That's true. If we want more simplicity and don't need to show up the arguments in the command line, we could even use environment variables to pass arguments into the scripts.
Many of VSCode-R's features use a background R process to perform tasks (e.g., help providers, previewing and knitting documents). We currently define the calls to R in-line, e.g.
I think that long-term this could get hard to maintain. Also, it can be difficult to wrap your head around all the quoting!
Describe the solution you'd like
I think that it might be neater and easier to maintain if we instead stuck these calls in their own R files, and then sourced them. For instance:
We can use the
commandArgs
method to pass values to a given file. E.g.The text was updated successfully, but these errors were encountered: