I'm trying to render some graphs with blogdown
(in RMarkdown
).
The problem is that I'm not able to render highcharter
graphs with casper-two
theme.
I'v tried this approach and nothing happens.
After select New Post
in RStudio addin I do this:
```{r}
library(highcharter)
mtcars <- tibble::rownames_to_column(mtcars)
hchart(mtcars, "point", hcaes(wt, mpg, color = hp))
```
And this is what I get:
When I execute the same code above (except by the R
. Rmd chunk part) I can visualize the graph perfectly:
Any help is appreciate.