shiny
knitr
R Rmarkdown
R shinydashboard
R knitr
knitr Language Engines
knitr Code
printr
# install.packages("printr")
# devtools::install_github('yihui/printr')
head(mtcars)
head(iris)
??sunflower
library(printr)
head(mtcars)
head(iris)
??sunflower
servr
# install.packages("servr")
# devtools::install_github('yihui/servr')
# library(servr)
# 创建一个网页服务器运行环境(指定相应目录)
# servr::httd()
# 创建一个rmd文件To网页文件html的通道
# servr::rmdv2()
# 网页服务器后台运行
# servr::rmdv2(daemon=TRUE)
tufte
# install.packages("tufte")
library(tufte)
title: "Tufte Handout"
subtitle: "An implementation in R Markdown"
author: "abdata"
date: "`r Sys.Date()`"
output:
tufte::tufte_html: default
tufte::tufte_handout:
citation_package: natbib
latex_engine: xelatex
tufte::tufte_book:
citation_package: natbib
latex_engine: xelatex
bibliography: skeleton.bib
link-citations: yes
{r fig-fullwidth, fig.width=10, fig.height=2, fig.fullwidth=TRUE, fig.cap="A full width figure.", warning=FALSE, cache=TRUE}