Skip to content

Using JuliaCall breaks for whole sesssion  #26

@JZL

Description

@JZL

This is an unbelievably niche issue but I thought I'd throw it out there

When I use JuliaCall to call Julia code within R, xrprof immediately starts erroring with [1]. This error continues once JuliaCall is initialized, even if running normal R code, and only works again when the session is restarted. I spent a tiny bit of time walking through the code to give a more detailed issue but I don't know ptrace that well and couldn't find anything helpful. I'm happy to run any debugging code or do some coredumps. I'm pretty sure it's worked fine in the past with python reticulate (and calling C doesn't hurt it) but I couldn't see any special handling of it within the repo so maybe Julia's FFI is more complicated

Thanks
Jonah

[1]

error: Failed to locate required R global variables in process 8026's memory. Are you sure it is an R program?
fatal: Failed to initialize R stack cursor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions