-
Notifications
You must be signed in to change notification settings - Fork 9
/
README
43 lines (29 loc) · 1.61 KB
/
README
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
# Installation on Windows
You will need to have:
* Rtools: the package contains C++ source files that need to be
compiled, which means that Rtools needs to be installed, with its
bin/ sub-directory in the system PATH.
See http://cran.r-project.org/bin/windows/Rtools/ for how to install the
version of Rtools compatible with your R version;
For R >= 3.2, you need to download and extract the Windows native
gcc 4.9.2 toolchain for your platform available from:
https://rawgit.com/kevinushey/RToolsToolchainUpdate/master/mingwnotes.html
* Octave: development was performed using the mingw version of
Octave, which can be installed as decribed in the Octave wiki:
http://wiki.octave.org/Octave_for_Windows#Octave-3.6.4-mingw_.2B_octaveforge_pkgs
Octave binary bin/ sub-directory (e.g.,C:\Octave\Octave3.6.4\gcc4.6.2\bin}) must be
in the system PATH as well, preferably after Rtools own bin/ sub-directory.
# Installation on Mac OS
Support for Mac OS is not yet official, but is currently being investigating.
Preliminary discussion(s) on how to install and run under Mac can be found here:
http://lists.r-forge.r-project.org/pipermail/rcppoctave-user/2013-October/000024.html
The installation procedure under investigation is based on the Octave version
provided by homebrew (http://brew.sh/):
1. install XCode and its Command Line Tools
2. install homebrew
3. add the homebrew/science repository (tap in brewing language):
$ brew tap homebrew/science
$ brew update && brew upgrade
$ brew tap --repair #may not be necessary
$ brew install gfortran
$ brew install octave