-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathINSTALL
53 lines (34 loc) · 1.73 KB
/
INSTALL
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
Installing Pandoc
=================
As the main purpose of `rapport` is to export the template-based reports to
nicely formatted documents - it is highly recommended to install Pandoc as
backend for that:
https://johnmacfarlane.net/pandoc
In order to export templates to our factory default HTML design
(https://rapporter.github.io/rapport), and use other formats (like pdf, odt,
docx etc.), install pandoc from:
http://johnmacfarlane.net/pandoc/installing.html
We recommend using the development version of pandoc which has bunch of
new features:
https://github.com/jgm/pandoc/wiki/Installing-the-development-version-of-pandoc-1.9
Unfortunatelly Linux distributions tend to ship a really outdated version of
Pandoc, so it is highly recommended to build from sources with `cabal-install`.
--------------------------------------------------------------------------------
Development version
===================
Besides CRAN release you can grab the latest build from GitHub:
https://github.com/rapporter/rapport
That nifty function of `devtools` package might speed up installing dev version:
library(devtools)
install_github('rapport', 'rapporter')
Or you can also download sources in a zip and build the package manually:
https://github.com/rapporter/rapport/zipball/master
To do so, please extract archive to an empty directory and run the following
commands on a unix-like system:
R CMD build rapport
R CMD INSTALL <path to .tar.gz file>
If you're running R on Windows, you need to install Rtools:
http://cran.stat.ucla.edu/bin/windows/Rtools/
Once you have installed it, and issue following commands in command prompt:
R CMD build --binary <path to .tar.gz file>
R CMD INSTALL <path to .zip file>