Page: http://cran.r-project.org/package=RcppOctave
The latest release of the package can be installed from source R-forge repository as follows:
install.packages("RcppOctave")
Repository: https://github.com/renozao/RcppOctave
The package can be installed from source from the GitHub using the devtools
package as follows:
library(devtools)
# latest stable version
install_github('RcppOctave', 'renozao')
# development version
install_github('RcppOctave', 'renozao', 'develop')
The above commands will perform a complete build/installation, which may require a complete R development environment. This should be fine for standard unix-based R installations (Linux, Mac), but is cannot be taken for granted on Windows machines.
So if this fails, then try doing a quick install by:
build_vignette = FALSE
.quick = TRUE
;library(devtools)
# latest stable version
install_github('RcppOctave', 'renozao', quick = TRUE)
install_github('RcppOctave', 'renozao', build_vignettes = FALSE)
# development version
install_github('RcppOctave', 'renozao', 'develop', quick = TRUE)
install_github('RcppOctave', 'renozao', 'develop', build_vignettes = FALSE)
Project: http://r-forge.r-project.org/projects/rcppoctave
The latest automated build of the package can be installed from R-forge repository as follows:
install.packages("RcppOctave", repos="http://R-Forge.R-project.org")
This installation method depends on the package's build status on R-forge, which can be checked on the project page > 'R packages' or from R:
'RcppOctave' %in% rownames(available.packages(contrib.url("http://R-Forge.R-project.org")))
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;
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.
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/):
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