New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rstudio error starting Ubuntu 22.04 #13421
Comments
I didn't find any information regarding my problem. Thank-you for your help. |
@benoitnabholz Thank you for raising this! @sharon-wang Would you by chance have any leads, based on the logs provided? |
This looks similar to the logs in #12963 (comment). The resolution proposed there is to ensure that The error message @benoitnabholz, a few questions for you:
|
Dear @sharon-wang
|
Noting that this may be related to #13184. |
I encountered the same problem: R Session Startup Failure ReportRStudio VersionRStudio 2023.09.1+494 "Desert Sunflower " (cd7011d, 2023-10-16) for Ubuntu Jammy Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) rstudio/2023.09.1+494 Chrome/116.0.5845.190 Electron/26.2.4 Safari/537.36 Error message[No error available] Process OutputThe R session exited with code 1. Error output:
Standard output:
Logs/home/rafael/.local/share/rstudio/log/rsession-rafael.log
|
My problem persist and my R is installed in /usr/bin/ so it is not #13184 in my case. |
How was R installed on your machine? It looks like RStudio tries to infer some of R's environment variables from the R wrapper shell script, so I wonder if your script has some unexpected contents. That is, what is the output of:
on your machine? |
I am having the same issue using an R version provided by the package manager Spack. Inspecting the R wrapper script generated by Spack, all of the paths are resolveable, so it doesn't appear to be related to #13184 |
Additionally, I can confirm that this build of R was built with --enable-R-shlib |
Do you see any errors in the system log when you try to start RStudio? Can you share the output of:
|
Thanks for following up - I'm getting the error: And the contents of the file:
|
So from a bit of digging in
However, if I list the directory:
It all appears to be there alright, so I'm not really sure what the problem is! |
If I manually override the doc location on the command line the session appears to start but when I try to connect to the server I get the spinning wheel and "R is taking longer to start than usual", with no logs in either the system log or the user that I'm starting as. |
Apologies, but to confirm, are you using RStudio Desktop or Server? If desktop, we run the following script to try and determine these paths (such as rstudio/src/node/desktop/src/main/detect-r.ts Lines 193 to 205 in f3f7ecd
Does The script for RStudio Server is similar, but a bit smaller: rstudio/src/cpp/core/r_util/REnvironmentPosix.cpp Lines 506 to 515 in f3f7ecd
|
Sorry for the delayed response - it is RStudio Server.
As I say if I manually override the doc location with the rsession flag |
(base) [guest@ip~]$ l /home/guest/miniconda3/envs/scRNA/bin/R run on centos 7 i give ' |
R Session Startup Failure Report
RStudio Version
RStudio 2023.06.1+524 "Mountain Hydrangea " (547dcf8, 2023-07-07) for Ubuntu Jammy
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) rstudio/2023.06.1+524 Chrome/110.0.5481.208 Electron/23.3.0 Safari/537.36
Error message
[No error available]
Process Output
The R session exited with code 1.
Error output:
Standard output:
Logs
/home/benoitnabholz/.local/share/rstudio/log/rsession-benoitnabholz.log
The text was updated successfully, but these errors were encountered: