Skip to contents

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.

Value

None.

Details

Enter an empty line to return to R.

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.