I have a knitr presentation saved as html. I would like to print it keeping the slides intact. Currently if I try to print, the structure of the slides get broken. I will appreciate if anyone have any suggestion.
Thanks.
Related
I recently started using Rmarkdown for my R coding, and I found it extremely useful. However, I have the following issue:
When I want to show tables behind the code (not in the output, but on the rmarkdown code itself), and I use the option kable_styling() from kableExtra package to display a table, if I have a dark theme activated (ie. Tomorrow Night Bright), the table apperas with a white shadow that makes it hard to read (see picture below):
However, this does not happen when I use a light theme (see picture below):
Does anyone know why this happens or how could I fix it? I have already tried to change the output format and a bunch of stuff. If I remove the kable_styling() option the table is correctly displayed, but not the way I want it to be formatted.
Thanks in advance and sorry if I wasn´t clear when posting the question, it is the first time I do this.
Especially when working with long RMarkdowns (e.g. 2-3000+ lines), it is desirable to completely clear all rendering and output (i.e. to get back to the same state as though none of the code in the RMarkdown had ever been executed), except without necessarily clearing the environment.
Is there a way to do this?
Note: in case someone wonders why, here are a couple of reasons:
occasionally (especially with javascript-heavy renderings, e.g. plotly, wordcloud etc) there can occasionally be bugs which not only affect the rendering that contains the bug, but all other renderings in the document, and
particularly in long Rmd files, it is sometimes simply easier to scroll through a doc which hasn't got renderings in it.
Click on the gear icon to the right of the "Knit" button at the top of your R Studio dashboard.
The very last option is "Clear All Output".
This should be what you are looking for.
For this use case I cannot use flexdashboard, however I am looking to see if I can create something similar to flexdashboard but in RMarkdown (knitted to html). I am looking to format an RMarkdown report like the format you see below and in a landscape mode. I've only created markdown reports in a portrait style.
I found this online in a video and I wasn't sure how it was created but this was created in RMarkdown. If there is a way to do this, is it possible someone can share a reproducible example?
I would like to create additional slides in my R generate powerpoint presentation that are exact duplicates of some other slide of the same powerpoint presentation.
Is there any function of officeR that does so?
Reading the officeR package documentation I just found add_slide that only creates a slide with a particular layout and thus does not include all the texts/images that are on the actual slide, unless they are hardcoded in the slide layout.
Many thanks!
I'm starting to use RMarkdown for documents with a lot of equations. RStudio has a nice feature of previewing latex when I'm writing it which I like, however after I've written the equation I don't need it taking up space in my text editor area, see image:
There is the option to "hide it" by clicking the two arrows in the corner of the preview but even after this it still takes up loads of space and clutters my text editor area, especially since my text is filled with many equations. So my questions is first if it's possible to keep the live preview when I'm writing the equation and then completely hide it or if that's not possible, completely disable this feature of latex preview?