luajr-package {luajr} | R Documentation |
luajr: LuaJIT Scripting
Description
'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.
The R API
-
lua()
: run Lua code -
lua_func()
: make a Lua function callable from R -
lua_shell()
: run an interactive Lua shell -
lua_open()
: create a new Lua state -
lua_reset()
: reset the default Lua state -
lua_parallel()
: run Lua code in parallel
Further reading
For an introduction to 'luajr', see vignette("luajr")
Author(s)
Maintainer: Nicholas Davies nicholas.davies@lshtm.ac.uk (ORCID) (Author of the R package wrapper) [contributor, copyright holder]
Authors:
Mike Pall (Author of the embedded LuaJIT compiler) [copyright holder]
Other contributors:
Lua.org, PUC-Rio (Copyright holders over portions of Lua source code included in LuaJIT) [copyright holder]
See Also
Useful links:
Report bugs at https://github.com/nicholasdavies/luajr/issues