This is related to your problem:
When I launch the application, the logo appears in the background on my screen but the application doesn't open. This happened in the middle of a user session and I couldn't close the application. I forced it to stop and it hasn't worked since. I've uninstalled and reinstalled several times, also for R, and I've updated my computer several times. Can you help me?
Thanks in advance
It doesn't work because I can't launch the application, I just see the R logo but the application doesn't launch..
I've also tried renaming the file to reinstall the default settings but it still doesn't work.
Dos it work if you open R in a terminal and run it from there?
Thanks, it looks like we can say it is not likely to be an RSudio problem. Is R working with other applications? For that matter is RStudio working with other applications?
Can you give us the general specifications on your set up?
Operating System
Version of R
Version of RStudio
Name and version of the application you are trying to load
Thanks
How can i check if R or RStudio do work with others application ?
I tried this from chatgpt but it didn't work :
To check if R is working with another application, there are several methods depending on the specific integration you need. Here are common cases:
1. Check Integration with Python (using reticulate
or rpy2
)
If you're using R with Python, packages like reticulate
(in R) or rpy2
(in Python) allow the two environments to work together.
- From R with
reticulate
:
R
Copier le code
install.packages("reticulate") # Install if necessary
library(reticulate)
py_config() # Check Python configuration and version
You can then run Python code directly in R to test the connection.
- From Python with
rpy2
:
python
Copier le code
import rpy2.robjects as robjects
robjects.r('print("Hello from R")')
If this runs without error, R and Python are successfully linked.
Here are the informations about my system :
Windows 11, 23H2, 64 bits
version of R : 4.4.1
version of RStudio : SHA-256: 513216fe | Version: 2024.09.0+375
I'm just trying to load RStudio.
Thank you for your help !
First, just to be clear, does R work from a command prompt (without invoking RStudio)? Second, if you open a command prompt and run the RStudio .exe file there, do you get any error messages in the command window?
Yes, R works from a command prompts and RStudio too, there is no error messages. The application launchs when I run RStudio.exe, but as usual I just see the logo in the background of my computer but the console doesn't appear.
Clearly I was wrong before. It looks like an Rstudio problem.
I am not a Windows user so I am just guessing but what happens if you purge anything connected to RStudio including trashing the state directory and revert to the last version of RStudio (RStudio 2024.07.0+330 "Cranberry Hibiscus").