forked from rdotnet/rClr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
46 lines (34 loc) · 1.18 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
Requirements
------------
* On Windows you must have the RTools installed, see the R extensions manual
* You need at least one of:
** Visual Studio 2013 (Express for Windows, or the full version), with the C# and C++ compilers installed.
** A recent Mono installation (www.mono-project.com). As of 2014-04 the latest 3.2.x or 3.4.x series is recommended
Instructions
-------------
"cmd"
```
set R="c:\Program Files\R\R-3.0.1\bin\x64\R.exe"
set BuildConfiguration=Debug
set MonoBuildConfiguration=MonoInstallDebug
:: or
set BuildConfiguration=Release
set MonoBuildConfiguration=MonoInstall
%R% CMD check rClr
%R% CMD REMOVE rClr
%R% CMD INSTALL rClr
:: or if you encounter some issues when testing the load, you may bypass it with
%R% CMD INSTALL --no-test-load rClr
```
Instructions for releases (to update the documentation)
```
library(rClr)
perfMeasureFile <- list.files(system.file("tests", package = "rClr"), pattern = "performance_profiling",
full.names = TRUE)
stopifnot(file.exists(perfMeasureFile))
source(perfMeasureFile)
library(rClrDevtools) # https://github.com/jmp75/rClr-devtools
# rClrDevtools::roxyRclr()
rClrDevtools::vignettesRclr()
```
Then rebuild/reinstall the package.