library(bench)
library(ggplot2)
a <- 1:3
rbind(a, a)
#> [,1] [,2] [,3]
#> a 1 2 3
#> a 1 2 3
rbind(a, a, deparse.level = 0)
#> [,1] [,2] [,3]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "minidown::mini_document" | |
author: "Atsushi Yasumoto" | |
date: "`r Sys.Date()`" | |
output: | |
html_document: | |
toc: true | |
toc_float: true | |
self_contained: false | |
pandoc_args: ["--lua-filter", "tabset.lua"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
output: | |
html_document: | |
pandoc_args: [ | |
"--lua-filter", "foldableCodeBlock.lua" | |
] | |
--- | |
```{r, attr.output='.details summary="Output"'} | |
set.seed(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css" data-origin="pandoc"> | |
code.sourceCode > span { display: inline-block; line-height: 1.25; } | |
code.sourceCode > span { color: inherit; text-decoration: inherit; } | |
code.sourceCode > span:empty { height: 1.2em; } | |
.sourceCode { overflow: visible; } | |
code.sourceCode { white-space: pre; position: relative; } | |
div.sourceCode { margin: 1em 0; } | |
pre.sourceCode { margin: 0; } | |
@media screen { | |
div.sourceCode { overflow: auto; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
output: html_document | |
--- | |
```{r, fig.width = 7, fig.height = 4, cache = TRUE} | |
library(readr) | |
library(ggplot2) | |
library(patchwork) # remotes::install_github("thomasp85/patchwork") | |
d <- read_csv("https://gist.githubusercontent.com/atusy/eca1f1acb31720896660a9926adab756/raw/5b4643dabb9499459cedb0673ad4fe780568143d/example4geom-col.csv") | |
p <- ggplot(d, aes(x, n)) + geom_col(width = 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x | n | |
---|---|---|
884 | 1 | |
892 | 1 | |
896 | 1 | |
900 | 1 | |
904 | 1 | |
908 | 1 | |
912 | 1 | |
916 | 2 | |
920 | 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Enjoy patchwork" | |
output: html_notebook | |
--- | |
```{r setup, include = FALSE} | |
library(dplyr) | |
library(ggplot2) | |
library(patchwork) | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
## | |
# HackMD(CodiMD) container | |
# see https://github.com/hackmdio/codimd#configuration | |
# | |
hackmd: | |
build: | |
context: ./hackmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
app: | |
build: | |
context: . | |
dockerfile: ./Dockerfile | |
ports: | |
- 3000:3000 # localhost only by default | |
links: |