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
Describe the bug
I am using rmarkdown within VSCode, and would like to automatically add today's date to the output filename when clicking the 'knit' button. I see that this feature was requested here and added in PR #765, however, I can't get it to work.
To Reproduce
Steps to reproduce the behavior:
Create file test.Rmd that contains the following code:
Unfortunately, the output filename is test.html and does not contain the date:
Note after clicking the knit button, the following command is automatically called (which I suspect is causing the date to be removed from the filename):
rmarkdown::render("test.Rmd", encoding = "UTF-8")
Environment (please complete the following information):
OS: macOS but I am using VSCode to connect to a remote server where I am using Rmarkdown/R for analysis
VSCode Version: 1.69.1
R Version: 4.1.3
vscode-R version: v\2.5.2
The text was updated successfully, but these errors were encountered:
I can't replicate this locally -- I'd just like to double check that you have enabled the VSC setting rmarkdown.knit.useBackgroundProcess as otherwise vscode-R will default to standard knitting in the interactive terminal
I can't replicate this locally -- I'd just like to double check that you have enabled the VSC setting rmarkdown.knit.useBackgroundProcess as otherwise vscode-R will default to standard knitting in the interactive terminal
Describe the bug
I am using rmarkdown within VSCode, and would like to automatically add today's date to the output filename when clicking the 'knit' button. I see that this feature was requested here and added in PR #765, however, I can't get it to work.
To Reproduce
Steps to reproduce the behavior:
test.Rmd
that contains the following code:Click on Knit > Rmd button:
Unfortunately, the output filename is
test.html
and does not contain the date:Note after clicking the knit button, the following command is automatically called (which I suspect is causing the date to be removed from the filename):
rmarkdown::render("test.Rmd", encoding = "UTF-8")
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: