knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of octaver is to provide an interface to Octave
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("kvasilopoulos/octaver")
library(octaver) find_octave() ## basic example code pr <- OctaveSession$new() pr$eval("2+2") pr$eval("A = 2+2") pr$eval("A") pr$kill()
OctaveREPL$new()
{octave eval = TRUE}
A = 1;
A
m_
oct_run(): oct_addpath():
oct_session(): oct_repl():
set_oct_engine():
write_mat(): read_mat():
install_oct(): install_pkg():
has_octave(): octave_path(): find_octave(): list_pkgs():
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.