https://github.com/doktormike/rmarkdowntemplate
My RMarkdown Base Template
https://github.com/doktormike/rmarkdowntemplate
data-science r report-generator rmarkdown-document rmarkdown-templates
Last synced: about 1 month ago
JSON representation
My RMarkdown Base Template
- Host: GitHub
- URL: https://github.com/doktormike/rmarkdowntemplate
- Owner: DoktorMike
- License: other
- Created: 2018-01-11T23:09:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-13T09:59:16.000Z (over 7 years ago)
- Last Synced: 2024-10-19T05:22:38.628Z (over 1 year ago)
- Topics: data-science, r, report-generator, rmarkdown-document, rmarkdown-templates
- Language: CSS
- Size: 72.3 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RMarkdownTemplate
My RMarkdown base template which is so far targeted towards producing automated reports in RMarkdown using ioslides. This has been a hassle for me for a couple of years and that's why I created this now for my own peace of mind. Please feel free to use it. Pull requests are also welcome.
## How to use it
1. clone this repository
2. make a folder somewhere on your machine where you want to keep your new document
3. copy template.Rmd, styles.css and logo.png from the repository you cloned into your newly created folder
4. fire up RStudio and make a new project in that folder
5. press knit and enjoy
## Doing a two column layout
Although ioslides in RMarkdown shoule work with two column layouts by adding the ".columns-2" attribute next to the header it has never worked for me when printing the HTML to PDF which is a certain requirement in many consultancy and reporting businesses. The recommendation is to do the following:
```markdown
## Hello {.columns-2}
- My first column
- My second column
```
However, in this template to make sure we produce correct HTML that prints like you would expect it to we instead do this:
```markdown
## Hello {.columns-2}
- My first column
- My second column
```