5
Beispiel zur Reproduzierbarkeit. Ich verliere Formatierung auf dem Tisch, wenn ich eine ggvis
Zahl einschließe.Das Hinzufügen von ggvis-Plot in RMarkdown-Dokument macht die Ausgabe von knitr :: kable output falsch.
---
title: "test"
output: html_document
---
```{r setup, include=FALSE}
library(dplyr)
library(ggvis)
library(knitr)
```
The following table looks fine...
```{r echo=FALSE, results='asis'}
cars %>% kable(format = 'markdown')
```
As long as I don't include this plot below
```{r, echo=FALSE}
pressure %>%
ggvis(x = ~temperature, y = ~pressure) %>%
layer_bars()
```
für das, was es wert ist, konnte ich das "reparieren", indem ich den 'kable' Aufruf zu' kable (format = "html", table.attr = 'class = \ "table table = striped table-hover) ändere \ "')' – kevinykuo