Interactive presentation with slidify and googleVis
28 May 2013
07:54
googleVis
,
knitr
,
Lancaster University
,
Presentations
,
R
,
slidify
,
Tutorials
2 comments
Last week I was invited to give an introduction to googleVis at Lancaster University. This time I decided to use the R package slidify for my talk. Slidify, like knitr, is built on Markdown and makes it very easy to create beautiful HTML5 presentations.Introduction to googleVis |
Separating content from layout is always a good idea. Markup languages such as TeX/LaTeX or HTML are built on this principle. Ramnath Vaidyanathan has done a fantastic job with slidify, as it is very straightforward to create presentations with R. There are a couple of advantages compared to traditional presentation software packages:
- RMarkdown helps me to focus on the content
- Integration of R code is build in
- HTML5 allows me to embed interactive content, such as
publish('mages', 'Introduction_to_googleVis')
.I will give a half-day tutorial on googleVis with Diego de Castillo at useR2013! in Albacete on 9 July 2013. I hope to see some of you there.
2 comments :
Hi Jake,
Make sure you set the argument results='as.is' in your code knitr chunks, e.g.
```{r motionchartcode, results='asis'}
library(googleVis)
plot(gvisMotionChart(Fruits, "Fruit", "Year",
options=list(width=600, height=400)), tag="chart")
```
See also section 4 of the googleVis vignette. If this doesn't help send me an email with a minimal reproducible example.
Cheers
Markus
I really appreciate it! I’m glad you’ve
found this kind of information to be helpful. If you have any suggestions for
improvement, definitely let me know. . Business Setup .
Post a Comment