Package: luajr 0.3.1.9000

luajr: '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'.

Authors:Mike Pall [aut, cph], Lua.org, PUC-Rio [cph], Nicholas Davies [cre, ctb, cph], Scott Lembcke, Howling Moon Software [ctb, cph]

luajr_0.3.1.9000.tar.gz
luajr_0.3.1.9000.zip(r-4.7)luajr_0.3.1.9000.zip(r-4.6)luajr_0.3.1.9000.zip(r-4.5)
luajr_0.3.1.9000.tgz(r-4.6-x86_64)luajr_0.3.1.9000.tgz(r-4.6-arm64)luajr_0.3.1.9000.tgz(r-4.5-x86_64)luajr_0.3.1.9000.tgz(r-4.5-arm64)
luajr_0.3.1.9000.tar.gz(r-4.7-arm64)luajr_0.3.1.9000.tar.gz(r-4.7-x86_64)luajr_0.3.1.9000.tar.gz(r-4.6-arm64)luajr_0.3.1.9000.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
luajr/json (API)

# Install 'luajr' in R:
install.packages('luajr', repos = c('https://nicholasdavies.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/nicholasdavies/luajr/issues

Pkgdown/docs site:https://nicholasdavies.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

7.15 score 31 stars 14 scripts 169 downloads 9 exports 0 dependencies

Last updated from:1c708a308b. Checks:12 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK145
linux-devel-x86_64OK142
source / vignettesOK176
linux-release-arm64OK160
linux-release-x86_64OK136
macos-release-arm64OK109
macos-release-x86_64OK262
macos-oldrel-arm64OK114
macos-oldrel-x86_64OK215
windows-develOK138
windows-releaseOK174
windows-oldrelOK153
wasm-releaseFAIL106

Exports:lualua_funclua_importlua_modelua_modulelua_openlua_profilelua_resetlua_shell

Dependencies:

Introduction to luajr
Running Lua code: lua() and lua_shell() | Calling Lua functions from R: lua_func() | Working with Lua States: lua_open(), lua_reset() | Further reading

Last update: 2026-06-02
Started: 2024-01-16

The luajr.lua module
Vector types | Creating and testing vector types | Vector type methods | Additional types | R function | Environment | Data frame | Matrix | Data matrix | Constants | Parallel processing | Utility functions | Long vectors

Last update: 2026-06-02
Started: 2024-01-30

The R.lua module
Introduction | Loading R.lua | R.sexp | Functions | Constants

Last update: 2026-05-22
Started: 2026-05-09

Benchmarks
Example 1: when to stick with R | Example 2: logistic map | Example 3: Lorenz attractor

Last update: 2026-05-16
Started: 2026-05-16

Lua modules
Introduction

Last update: 2026-05-11
Started: 2025-09-08