'LuaJIT' Scripting

An interface to 'LuaJIT' < https://luajit.org>, a just-in-time compiler for the 'Lua' scripting language < https://www.lua.org>. Allows users to run 'Lua' code from 'R'.


luajr: LuaJIT Scripting

R-CMD-check

luajr provides an interface to LuaJIT, a just-in-time compiler for the Lua scripting language. It allows users to run Lua code from R.

One of the advantages of using luajr is that LuaJIT runs Lua code with very fast compilation times, fast execution times, and no need for an external toolchain, as the LuaJIT compiler is “built in” to the luajr package. This contrasts with e.g. Rcpp, which results in compiled code with very fast execution times but slow compilation times and the need to invoke an external C++ compiler toolchain like gcc or clang.

Installation

You can install the released version of luajr from CRAN with:

install.packages("luajr")

You can install the development version of luajr from GitHub with:

# install.packages("devtools")
devtools::install_github("nicholasdavies/luajr")

Under development

luajr is under early development. As such, the interface and behaviour of the package is subject to change.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("luajr")

0.3.1 by Nicholas Davies, 4 months ago


https://github.com/nicholasdavies/luajr, https://nicholasdavies.github.io/luajr/


Report a bug at https://github.com/nicholasdavies/luajr/issues


Browse source code at https://github.com/cran/luajr


Authors: Mike Pall [aut, cph] (Author of the embedded LuaJIT compiler) , Lua.org , PUC-Rio [cph] (Copyright holders over portions of Lua source code included in LuaJIT) , Nicholas Davies [cre, ctb, cph] (Author of the R package wrapper , ORCID: , Scott Lembcke , Howling Moon Software [ctb, cph] (Authors of the embedded debugger.lua debugger)


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests Rcpp, crayon, knitr, rmarkdown, testthat

System requirements: GNU make


See at CRAN