R presentation (rpres) goes black in full screen m

2019-04-24 06:32发布

问题:

Whenever I take an .Rpres file full screen under the latest RStudio (v0.99.902) on macOS every slide after the intro has a black overlay that does not disappear.

While the window is minimized we have:

[

Under full screen mode (press f), switching from the title slide to the subsequent slides yields:

Code used:

Lecture 4: The Art of Life
====
author: 385
date: Today
autosize: true

On the Agenda
====

- Learn about functions
- Learn about other things..

> Only this text appears

回答1:

I had this problem too.

F11 didn't help me either, until after I started viewing the slides full-screen using the menu bar:

This made my slides full-screen (with the nice white background), then I could use F11 to toggle off the full-screen option. Does this work for other folks?



回答2:

Explicitly adding font and background colors in custom.css worked for me.

.reveal .state-background {
  background: white;
} 
.reveal {
  color: black;
}

(You also obviously have to add css: custom.css under the title slide's title.)



标签: r rstudio rpres