Cant start up Python or R sessions in Positron

Hi;

After installing the ARM64 version of Positron on Windows (Surface Laptop 7) I have not been able to start up Python or R in the console.

I get this error when trying to start an R session:

R 4.5.2 failed to start up (exit code 10)

The process exited abnormally (exit code: 10)

I get this same error both when using the x64 and ARM-versions of R. I can run R just fine in Rstudio.

Any ideas about what might cause the issue?

We currently say this about the experimental Windows ARM builds:

Support for Positron on Windows arm64 platforms is currently experimental; note that these builds do not include Quarto and require an arm64 version of Python.

In terms of R, you can use either the aarch64 version of R or x64 version of R. Note that if you use the aarch64 version of R, you will have increased performance but won't be able to install most packages since CRAN does not yet publish binaries for aarch64. If you use aarch64 R, install the RTools for 64-bit ARM so packages can be compiled locally.

I don't think the "exit code: 10" is something we've had reports of before. Can you open a GitHub discussion and include some logs for us to look into? I think it would be helpful to see logs from these output channels:

  • R Kernel
  • R Language Pack
  • maybe also the Kernel Supervisor

Thank you for the reply, Julia. I have reposted here with the logs you suggested: Cant start up Python or R sessions in Positron ‒ exit code: 10 · posit-dev/positron · Discussion #11628