-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.Rmd
77 lines (64 loc) · 1.73 KB
/
index.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!-- badges go here -->
[![Say Thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/JohnCoene)
<!-- badges: end -->
```{r setup, include = FALSE}
knitr::opts_chunk$set(
warning = FALSE,
collapse = TRUE,
comment = "#>"
)
library(htmltools)
```
```{r, echo=FALSE}
br()
br()
div(
class = "row",
div(
class = "col-md-4",
img(
src = "logo.png",
class = "img-responsive responsive-img"
)
),
div(
class = "col-md-8",
p(
"Text Analysis in R with Julia."
),
p(
tags$a(
tags$i(class = "fa fa-rocket"),
class = "btn btn-primary",
href = "articles/get_started.html",
style = "margin-bottom: 5px;",
"Get Started"
),
tags$a(
tags$i(class = "fa fa-github"),
class = "btn btn-default",
href = "https://github.com/news-r/textanalysis",
style = "margin-bottom: 5px;",
target = "_blank",
"Repository"
)
)
)
)
```
## Installation
You can install the package with `remotes` from Github, see [changes](news/index.html).
```{r, eval=FALSE}
# install.packages("remotes")
remotes::install_github("news-r/textanalysis") # github
```
## Setup
The package's main dependency is [TextAnalysis.jl](https://github.com/JuliaText/TextAnalysis.jl) you therefore need a valid [Julia](https://julialang.org) installation on your machine.
You need to initialise every session with `init_textanalysis`, this will load the Julia dependencies and install them if required.
```r
textanalysis::init_textanalysis()
```
A few functions in the package depend on the _latest_ version of TextAnalysis which you can then isntall with.
```r
textanalysis::install_textanalysis("latest")
```