Open itsmevictor opened 1 year ago
Hi, I have a similar issue #402. When I run radian in terminal, I don't get any error messages but there is no output either. From what I'm reading it could be to do with conda. Hopefully someone figures this out.
Hi, I managed to resolve it by completely removing all conda-related files from my computer. Given I see you are using anaconda3 as well, I suspect it may be caused by interaction with conda/the installation directories. Could you try running it outside your conda environment to see if it works?
@ItsMeVictor i have encountered this problem also. The integrated shell will break after startup. But if I don't use radian and use original R, the R session could be opened properly.
It is the issue of mixing arm and x64 binaries. Make sure both R and python have the same architecture. Prefer both to be arm based.
Emmm, I'm very sure about that architecture of python is arm64 since I used homebrew to manage all python related environment. And my conda is also arm64, since my R is arm64 with R version 4.2.3 (2023-03-15) -- "Shortstop Beagle" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: aarch64-apple-darwin20 (64-bit)
, will the problem be with the python it used?
I managed to captured the error vscode reported. (I updated the radian using a newer version python.)
It said that Rhome
could not be found, how should set this environment variable? I browsered that #373 also mentioned something like this only it's a windows machine.
What error message did you get?
VSC just prompted a message that the shell could not start properly. But the error underneath is as shown in my snapshot.
Your issue is different from OP. Please see README on how to specific path to R binary.
I meet the same problem.
According to your discussion, I recognize that it need to set option aim to the R binary !!!
"r.rterm.option": ["--r-binary=/usr/local/bin/R"]
It works!
Hi,
I am trying to set up Radian in VSC. When I try to launch the R terminal, I get the following error message:
The terminal process "/Users/victor/opt/anaconda3/bin/radian" terminated with exit code: 1.
My settings are the following:
When
which radian
, I get/Users/victor/opt/anaconda3/bin/radian
as I already had the conda environment.which R
, I get/usr/local/bin/R
.which python
, I get/opt/local/bin/python
.Further,
R --version
gets meR version 4.2.2
.python --version
gets mePython 3.10.8
.radian --version
gets me:I am not a pro so I might be asking a stupid question, but I read other similar issues and none of them worked. Some help would be greatly appreciated.
EDIT: For additional information, when running
radian
in terminal, I get:I assume this is part of the problem, but I am having trouble figuring exactly why.