Movatterモバイル変換


[0]ホーム

URL:


luajr: LuaJIT Scripting

R-CMD-check

luajr provides an interface toLuaJIT, a just-in-time compiler for theLua scripting language. It allows usersto run Lua code from R.

One of the advantages of using luajr is that LuaJIT runs Lua codewith very fast compilation times, fast execution times, and no need foran external toolchain, as the LuaJIT compiler is “built in” to the luajrpackage. This contrasts with e.g. Rcpp, which results in compiled codewith very fast execution times but slow compilation times and the needto invoke an external C++ compiler toolchain likegcc orclang.

Installation

You can install the released version of luajr fromCRAN with:

install.packages("luajr")

You can install the development version of luajr fromGitHub with:

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

Under development

luajr is underearly development. As such, theinterface and behaviour of the package is subject to change.


[8]ページ先頭

©2009-2025 Movatter.jp