Skip to content

jlview

Zero-Copy Julia to R Array Bridge via ALTREP

v0.1.0 · Mar 23, 2026 · MIT + file LICENSE

Description

Provides zero-copy R views of Julia-owned arrays by implementing ALTREP (Alternative Representations) classes that return pointers directly into Julia's memory. The package integrates with 'JuliaCall' and uses C-level finalizers for safe cross-runtime garbage collection.

Downloads

85

Last 30 days

23551st

85

Last 90 days

85

Last year

CRAN Check Status

2 ERROR
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 ERROR
Check details (2 non-OK)
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [53s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(jlview)
  > 
  > test_check("jlview")
  Julia version 1.11.3 at location C:\PROGRA~1\Julia\bin will be used.
  Loading setup script for JuliaCall...
  Finish loading setup script for JuliaCall.
  Main.JlviewSupport
    
  100-element Vector{Float64}:
   0.4728033779107643
   0.30942283605202303
   0.4270308640063407
   0.09329961070805415
   0.28479121080819425
   0.18946034286293012
   0.9183618531815585
   0.8041833645363227
   0.8126299028096398
   0.06967289671827592
   ⋮
   0.370275819644616
   0.7462292070054692
   0.7931141855814648
   0.01101384645662451
   0.77167359483225
   0.3038450929234513
   0.3199714108779278
   0.5771900131697499
   0.784345182101021
    
  100-element Vector{Float64}:
   0.4976183957417447
   0.560152117562364
   0.7158854669118605
   0.8610392921149127
   0.5163871387190396
   0.6892301501885831
   0.48593141692006636
   0.103
...[truncated]...
 .\essentials.jl:1089 [inlined]
   [5] invoke_in_world
     @ .\essentials.jl:1086 [inlined]
   [6] require(into::Module, mod::Symbol)
     @ Base .\loading.jl:2260
   [7] eval
     @ .\boot.jl:430 [inlined]
   [8] eval_string(x::String)
     @ Main.JuliaCall D:\RCompile\CRANpkg\lib\4.4\JuliaCall\julia\setup.jl:203
   [9] docall(call1::Ptr{Nothing})
     @ Main.JuliaCall D:\RCompile\CRANpkg\lib\4.4\JuliaCall\julia\setup.jl:176
  Backtrace:
      ▆
   1. └─JuliaCall::julia_command("using NamedArrays") at test-no-materialize.R:147:5
   2.   └─julia$call(...)
   3.     └─julia$do.call(func_name, list(...), need_return, show_value)
  
  [ FAIL 5 | WARN 1 | SKIP 0 | PASS 302 ]
  Error:
  ! Test failures.
  Execution halted
  Julia exit.
  ┌ Warning: jlview: Int64 array contains values outside Float64's exact integer range (|x| > 2^53-1). Precision loss will occur. min=9007199254740993 max=9007199254740993
  └ @ Main.JlviewSupport D:\RCompile\CRANpkg\lib\4.4\jlview\julia\jlview_support.jl:69
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [666m]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(jlview)
  > 
  > test_check("jlview")
  Julia version 1.11.3 at location C:\PROGRA~1\Julia\bin will be used.
  Loading setup script for JuliaCall...

Check History

ERROR 9 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 26, 2026
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [808m]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(jlview)
  > 
  > test_check("jlview")
  Julia version 1.11.3 at location C:\PROGRA~1\Julia\bin will be used.
  Loading setup script for JuliaCall...
OK 5 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 23, 2026

Dependency Network

Dependencies Reverse dependencies JuliaCall Matrix jlview

Version History

new 0.1.0 Mar 23, 2026