Package: QuickJSR 1.11.9000

QuickJSR: Interface for the 'QuickJS-NG' Lightweight 'JavaScript' Engine

An 'R' interface to the 'QuickJS' portable 'JavaScript' engine. The engine and all 'R' to 'JavaScript' interoperability is bundled within the package, requiring no dependencies beyond a 'C' compiler.

Authors:Andrew R. Johnson [aut, cre], QuickJS Authors [cph], QuickJS-NG Authors [cph]

QuickJSR_1.11.9000.tar.gz
QuickJSR_1.11.9000.zip(r-4.7-x86_64)QuickJSR_1.11.9000.zip(r-4.7-arm64)QuickJSR_1.11.9000.zip(r-4.6-x86_64)QuickJSR_1.11.9000.zip(r-4.6-arm64)QuickJSR_1.11.9000.zip(r-4.5-x86_64)
QuickJSR_1.11.9000.tgz(r-4.6-x86_64)QuickJSR_1.11.9000.tgz(r-4.6-arm64)QuickJSR_1.11.9000.tgz(r-4.5-x86_64)QuickJSR_1.11.9000.tgz(r-4.5-arm64)
QuickJSR_1.11.9000.tar.gz(r-4.7-arm64)QuickJSR_1.11.9000.tar.gz(r-4.7-x86_64)QuickJSR_1.11.9000.tar.gz(r-4.6-arm64)QuickJSR_1.11.9000.tar.gz(r-4.6-x86_64)
QuickJSR_1.11.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
QuickJSR/json (API)

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

Bug tracker:https://github.com/andrjohns/quickjsr/issues

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

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

On CRAN:

Conda:

cpp

12.55 score 17 stars 325 packages 34 scripts 420k downloads 18 exports 0 dependencies

Last updated from:7f020071a5. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK144
linux-devel-x86_64OK213
source / vignettesOK276
linux-release-arm64OK128
linux-release-x86_64OK154
macos-release-arm64OK127
macos-release-x86_64OK314
macos-oldrel-arm64OK114
macos-oldrel-x86_64OK295
windows-devel-arm64OK240
windows-devel-x86_64OK191
windows-release-arm64OK266
windows-release-x86_64OK150
windows-oldrel-x86_64OK187
wasm-releaseOK110

Exports:cppflagsfrom_jsonjs_columnar_data_framejs_masked_typed_arrayjs_mutable_viewjs_readonly_viewjs_ref_calljs_ref_getjs_ref_to_altrepjs_ref_to_rjs_script_runjs_script_run_refjs_typed_arrayJSContextldflagsqjs_evalquickjs_versionto_json

Dependencies:

Persistent JavaScript References
Context profiles | Persistent and compiled evaluation | Creating references | Passing references back to JavaScript | Property access and callable references | Materialising a value in R | Zero-copy typed-array views in R | Context ownership | Cyclic and non-convertible values | Choosing between values and references

Last update: 2026-08-24
Started: 2026-08-24

Working with R and JS Types
Mappings and Conversions Between R and JS Types | Primitive & Scalar Types | Container Types | Typed Arrays | Missing Typed Values | Read-only R Vector Views | Mutable R Vector Views | Column-oriented Data Frames | Functions and Closures | Working with R Environments | Accessing Package Namespaces & Functions

Last update: 2026-08-24
Started: 2024-06-02

Readme and manuals

Help Manual

Help pageTopics
The QuickJSR package.QuickJSR-package QuickJSR
from_jsonfrom_json
Transfer a data frame as an object of columnsjs_columnar_data_frame
Transfer missing typed values with a validity maskjs_masked_typed_array
Expose owned R vector storage as a mutable JavaScript viewjs_mutable_view
Expose an R vector as a read-only JavaScript viewjs_readonly_view
Create an R ALTREP view over a JavaScript typed arrayjs_ref_to_altrep
Transfer an R vector as a JavaScript typed arrayjs_typed_array
Compile and repeatedly execute JavaScriptJSCompiledScript js_script_run js_script_run_ref
JSContext objectJSContext
Assign a value to a variable in the current contextassign JSContext-method-assign
Call a JS function in the current contextcall JSContext-method-call
Evaluate code in a persistent JavaScript contexteval JSContext-method-eval
Get a variable from the current contextget JSContext-method-get
Evaluate JS string or file in the current contextJSContext-method-source source
Assess validity of JS code without evaluatingJSContext-method-validate validate
Create a JavaScript contextJSContext-new new_JSContext
Create persistent JavaScript referencescall_ref eval_ref get_ref JSContext-method-call_ref JSContext-method-eval_ref JSContext-method-get_ref
Persistent JavaScript value referencesJSValueRef js_ref_call js_ref_get js_ref_to_r
qjs_evalqjs_eval
QuickJS-NG Compiler and Linker Flagscppflags ldflags quickjs_flags
Get the version of the bundled QuickJS libraryquickjs_version
to_jsonto_json