Uh oh!
There was an error while loading. Please reload this page.
Use R files for background process - #783
Conversation
- Moves R process commands from inline text to R scripts - Use environment variables to pass values to the scripts
renkun-ken
commented
Sep 10, 2021
Should we also make it for the R help server at vscode-R/src/helpViewer/helpProvider.ts Lines 42 to 45 in 4d6a663 |
ElianHugh
commented
Sep 10, 2021
I wasn't sure at what point/complexity we should create files. Do we think all background processes? |
renkun-ken
commented
Sep 10, 2021
I think we should put a script if the command line has multiple expressions or needs quoting. |
renkun-ken
commented
Sep 10, 2021
Also, do we really need the
|
ElianHugh
commented
Sep 10, 2021
I was thinking the background folder, because I wanted to distinguish it from the session-watcher related files. Would it make more sense to have the following?
|
renkun-ken
commented
Sep 10, 2021
Makes good sense. |
Uh oh!
There was an error while loading. Please reload this page.
- change require to requireNamespace - Move session related R files to R/session/
ElianHugh
commented
Sep 10, 2021
I've moved the session files to |
* Move R-related session files to `R/session` * Move `getAliases.R` to `R/help` * New file `helpServer.R` in `R/help` * New file `knit.R` in `R/rmarkdown` * New file `preview.R` in `R/rmarkdown`
Resolves#781
Why?
In general, easier to maintain:
Changes
R/sessiongetAliases.RtoR/helphelpServer.RinR/helpknit.RinR/rmarkdownpreview.RinR/rmarkdown