Skip to content

Julia REPL segfaults when loading R's sf package through RCall.jl #2299

@ianfiske

Description

@ianfiske

I wasn't sure whether to open this in RCall.jl or in julia-vscode. Since the segfault only happens within VSCode's Julia REPL (or a connected terminal), let's start here. To reproduce,

using Pkg
Pkg.add("RCall")
using RCall

R"install.packages('sf')"
R"library(sf)"

makes the REPL in VSCode disappear. There is no server trace info. If I open an external REPL and connect it, I can see that there is a segfault when Julia ends. This runs smoothly if I run in a REPL independent of VSCode (not even "connected" to VSCode).

I am on OSX, with Julia 1.6, R 4.1.0. Please let me know if I can provide any more debugging info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions