-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport.Rmd
executable file
·61 lines (49 loc) · 1.57 KB
/
report.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
title: "Analiza postów z użyciem LDA i wybranych narzędzi Big Data"
author: "Krzysztof Wojdalski"
date: "`r Sys.Date()`"
output:
pdf_document:
fig_caption: yes
keep_tex: yes
header-includes:
- \usepackage[utf8]{inputenc}
- \usepackage{rotating}
- \pagenumbering{gobble}
- \renewcommand{\listfigurename}{Spis rysunków}
- \usepackage{float}
nocite: |
@db, @tmwr, @ldamllib, @lda, @blei, @ng, @ls, @amz, @rs, @spr, @sc
editor_options:
chunk_output_type: console
latex_engine: xelatex
bibliography: src/bibliography.bib
---
\newpage
\renewcommand{\contentsname}{Spis treści}
\setcounter{tocdepth}{3}
\tableofcontents
```{r setup, cache = FALSE, echo = FALSE, message = FALSE, warning = FALSE}
require(pacman)
p_load(purrr, plyr, dplyr, sparklyr, dplyr, sparkxml, tidyr, magrittr, ggplot2, ggthemes, xtable, knitr, rmarkdown)
knitr::opts_knit$set(root.dir = getwd())
knitr::opts_chunk$set(echo = FALSE, warning = FALSE,
error = FALSE, message = FALSE, dev = "cairo_pdf",
fig.pos = 'H')
# Run as admin!!!!
# config <- spark_config()
# config$sparklyr.gateway.port = 10000
#sc <- spark_connect(master = "local", spark_home = spark_home_dir(version = "2.1.0"))
opts_chunk$set(tidy.opts = list(width.cutoff = 80),tidy = FALSE)
opts_chunk$set(out.width = '100%')
```
\newpage
\pagenumbering{arabic}
```{r wstep, child = 'src/01_wstep.Rmd'}
```
```{r zaladowanie_danych, child = 'src/02_zaladowanie_danych.Rmd'}
```
```{r model_lda, child = 'src/03_model_lda_sparklyr.Rmd'}
```
```{r model_lda, child = 'src/04_referencje.Rmd'}
```