knitr
knitr copied to clipboard
A general-purpose tool for dynamic report generation in R
It's great to have the chunk options as comment; the script will fail however if the code actually produces an error. ```` r text #> ```{r error = TRUE} #>...
Why knitr.kable.NA is an option not an argument to knitr::kable()? It is a bit cumbersome to change this if in multiple `kable`s I need to use a different way to...
There appears to be no fast and easy way to extract the R code from HTML files generated via R Markdown. ### Example Max and Davis's [applied-ml](https://github.com/rstudio-conf-2020/applied-ml) workshop is a...
This is only a suggestion for improvement. It could be useful to have some method of converting existing `.md` files to `.Rmd` Rationale: anyone who made `.md` files _without_ `.Rmd`...
It is posible for knitr::spin to use the starting and end delimiters for comments backwards. This could be innocuous, but can also lead to problems. An innocuous example: ``` r...
As per #841 (wontfix), you're not going to support changing the current chunk options. However, `opts_current$set` allows modifying the options and doesn't complain about it either. It even succeeds in...
@yihui I have a use case for the `sql` engine where I want to assign the output of the sql query to a variable, but do it __lazily__ without collecting...
I know about and regularly use `knit_exit()`. And I often find myself wanting a feature like `knit_pause()` to pause knitting between given spots in the document (especially when running `xaringan::inf_mr()`...
Question directly copied from [StackOverflow](https://stackoverflow.com/questions/58839450/r-knitr-use-spin-with-r-and-python-code/58880761#58880761): With the advent of **reticulate**, combining R and Python in a single .Rmd document has become increasingly popular among the R community (myself included). Now,...
When calling cable with `format = latex` the actual latex output is preceded by a newline. I can write a wrapper that strips it but was curious: Is this intentional?...