Uh oh!
There was an error while loading. Please reload this page.
Add knit task - #608
Conversation
malcook
commented
Apr 6, 2021
thought as an often emacs org-mode ESS (emacs speaks statistics) user and sometime rstudio user who would love to jump to VSC when possible: "Knit to xxx" is good "Knit All" is good and should knit to all formats in YAML header, of html if none. Ctrl + Shift + K is what RStudio uses and is good unless otherwise claimed. The YAML header of an rmarkdown document can specify one of more formats to which the document is expected to be knit, but a call to knit can override. |
jooyoungseo
commented
Apr 7, 2021
In RStudio IDE, the This has been described in Customize the Knit button. For example, the following calls
---
title: Bookdown Rmdknit: "bookdown::render_book"output: bookdown::gitbook
---It would be ideal if the knit task could pick up the |
andycraig
commented
Apr 8, 2021
@krlmlr Thanks for this PR! I'm happy to review it whenever you'd like. Adding knit HTML/PDF/all variations might be worthwhile now as they should be straightforward. You're welcome to take on other features like automatically opening the knitted document but it seems like it might be easiest to merge the basic features now and add on the more involved features in subsequent PRs. |
gowerc
commented
Feb 16, 2022
Can I just double check what you were trying to achieve here. The current To @jooyoungseo's point it also looks like the existing knit all / Theres also quite a bit of chat here around different potential features we could implement is it worth extracting these to separate issues ? I would propose closing this PR considering its now outdated/incompatible with the current changes to |
jooyoungseo
commented
Feb 16, 2022
@gowerc I believe the customizable knit (at least my suggestion) has already been addressed in the latest version, so this is somewhat outdated. |

Expand list of tasks so that documents kan be rendered in a fresh session using tasks. Reference: #59 (comment).
Open an
.Rmdfile, run the "R: Knit" task.I wonder:
rstudioapi::xxx()call to the command line?.Rfiles