安装

安装 slidify软件包

library(devtools)
install_github('ramnathv/slidify')
install_github('ramnathv/slidifyLibraries')

Demo

初始化

library(slidify)
author('mydeck')

slidify("index.Rmd")

格式

上传到 Github

# publish to github
# create an empty repo on github. replace USER and REPO with your repo details
  publish(user = 'williamlfang', repo = 'myslidify') 

# publish to rpubs
publish(title = 'My Deck', 'index.html', host = 'rpubs')

demo

可以参考我的小例