yum update -y
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Build R From Source | Ref: 2.1.2
| --- | |
| title: "Cookie Cutter Shop Report" | |
| output: html_document | |
| --- | |
| ```{r setup, include=FALSE} | |
| knitr::opts_chunk$set(echo = TRUE) | |
| library(blastula) | |
| ``` |
| library(shiny) | |
| library(DT) | |
| data <- read.csv('https://colorado.rstudio.com/rsc/content/2352/data.csv') | |
| ui <- fluidPage( | |
| titlePanel("Basic Data Filter Application"), | |
| hr(), | |
| h4("This application presents data generated by a scheduled R Markdown process: ", tags$a(href="https://colorado.rstudio.com/rsc/content/2352", "See it here!")), | |
| p("Use this framework to build out your own R Markdown-based ETL jobs hosted on RStudio Connect."), |
| --- | |
| title: "Read Persistent Data on RStudio Connect" | |
| output: | |
| flexdashboard::flex_dashboard: | |
| orientation: columns | |
| vertical_layout: fill | |
| --- | |
| ```{r setup, include=FALSE} | |
| library(flexdashboard) |
| --- | |
| title: "Variants with Different Schedules" | |
| output: html_document | |
| params: | |
| engineer: | |
| label: "On-call Engineer:" | |
| value: Kelly | |
| input: select | |
| choices: [Cole, Kris, Kelly, Sean] | |
| --- |
| --- | |
| title: "Email Report and CSV File" | |
| output: html_document | |
| rmd_output_metadata: | |
| rsc_email_subject: "CSV Data Report" | |
| rsc_email_attachments: | |
| - "df.csv" | |
| --- | |
| ```{r setup, include=FALSE} |
yum update -y
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
| print "1. " | |
| puts 4 == 2 * 2 | |
| print "2. " | |
| puts 6 > 4 | |
| print "3. " | |
| puts (12 * 2) > 10 | |
| print "4. " |
| library(maps) | |
| library(ggplot2) | |
| library(dplyr) | |
| set.seed(500) | |
| states = c("alabama","arizona","arkansas","california", | |
| "colorado","connecticut","delaware","district of columbia", | |
| "florida","georgia","idaho","illinois", | |
| "indiana","iowa","kansas","kentucky", |
| library(maps) | |
| library(ggplot2) | |
| library(dplyr) | |
| set.seed(500) | |
| states = c("alabama","arizona","arkansas","california", | |
| "colorado","connecticut","delaware","district of columbia", | |
| "florida","georgia","idaho","illinois", | |
| "indiana","iowa","kansas","kentucky", |
| State | County | FIPSCodes | Diabetes | LeisureInactivity | Obesity | |
|---|---|---|---|---|---|---|
| Alabama | Autauga | 01001 | 12.1 | 27.9 | 31.3 | |
| Alabama | Baldwin | 01003 | 11.5 | 25.2 | 25 | |
| Alabama | Barbour | 01005 | 14.8 | 32.3 | 38.4 | |
| Alabama | Bibb | 01007 | 12.7 | 33.2 | 37.3 | |
| Alabama | Blount | 01009 | 13.2 | 29.8 | 30.9 | |
| Alabama | Bullock | 01011 | 17.6 | 32.8 | 43.2 | |
| Alabama | Butler | 01013 | 16.1 | 37.3 | 38.4 | |
| Alabama | Calhoun | 01015 | 13.2 | 33.2 | 31.5 | |
| Alabama | Chambers | 01017 | 15.7 | 35.3 | 39.7 |