Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature to knit a single section instead of whole document #11593

Open
DiegoJArg opened this issue Jul 10, 2022 · 3 comments
Open

Feature to knit a single section instead of whole document #11593

DiegoJArg opened this issue Jul 10, 2022 · 3 comments

Comments

@DiegoJArg
Copy link

@DiegoJArg DiegoJArg commented Jul 10, 2022

Hi,
as previously posted here
And haven't found if the feature already exists.

It would be helpful to set this Feature Request for Rstudio Rmarkdown files.

  • Knitt only the currently under-work section as pointed by the cursor.
    - Instead of knitting the entire document.
    - Sometimes I just want to quickly check if my markdown looks pretty enough.

Thanks in advance

@ronblum
Copy link
Contributor

@ronblum ronblum commented Jul 11, 2022

@DiegoJArg Thank you for the suggestion! For what you're interested in, does running the individual chunks and previewing the document address what you're looking for?

@DiegoJArg
Copy link
Author

@DiegoJArg DiegoJArg commented Jul 11, 2022

@ronblum Not really. Running individual chunks are about chunks of code, a Section of rmarkdown may contain multiple chunks and multiple subsections. This is more about the markdown's output than the chunk execution.

Example: Working with a rmarkdown in conclusions of a thesis. I may not want to rebuild calculations over and over again to check the look&feel of that section's output.

@ronblum
Copy link
Contributor

@ronblum ronblum commented Jul 11, 2022

@DiegoJArg Got it—thank you for the describing the distinction!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants