lua_shell {luajr}R Documentation

Run an interactive Lua shell

Description

When in interactive mode, provides a basic read-eval-print loop with LuaJIT.

Usage

lua_shell(L = NULL)

Arguments

L

Lua state in which to run the code. NULL (default) uses the default Lua state for luajr.

Details

As a convenience, lines starting with an equals sign have the "=" replaced with "return ", so that e.g. entering ⁠=x⁠ will show the value of x as returned to R.

Value

None.


[Package luajr version 0.1.7 Index]