Duplicate powerpoint slides (text and formatting) with officeR - r

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!

Related

Displaying Plotly figures in full screen in Jupyter notebooks

The bounty expires in 7 days. Answers to this question are eligible for a +500 reputation bounty.
Mikko Ohtamaa wants to draw more attention to this question.
I have large Plotly figures and tables in my Jupyter Notebook and Sphinx-based documentation. Because the documentation page is already crowded, I would like to give the user an option to
Display these figures in a full-screen pop-up
or
Make tables scrollable instead of compressed columns, as the table layout with many columns do not work when embedded on a page
An example of a broken layout:
Does Plotly.py offer ways to achieve this easily? If it doesn't, can I somehow include external JavaScript on the generated Sphinx documentation page for the same effect?

Is it possible to format an RMarkdown report dashboard style?

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?

Show presentation slide in RStudio

In an upcoming project I'd like to guide my audience through a presentation as well as showing some code in RStudio. To use the screen space optimally I'd like to show the presentation (a PDF) in the environment area of RStudio (top right corner). This way I could display some code on the left, the presentation in the top right and plots in the bottom right corner.
Does an RStudio plugin exist to accomplish this?
File > New File > R Markdown
New your file
Select PDF from the Default Output format
A minimal working example will be populated with the Motor Trend Cars data frame.
Run any single 'Chunk' with the tiny green arrow to make your plots generate under the code
Additional viewing options in preview pane

RMarkdown in RStudio - is it possible to completely hide LaTeX preview

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?

knitr presentation print slides

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.

Resources