Entering edit mode
2.1 years ago
Amr
▴
180
Every time I open R-Studio the program lags, freezes and stops to work. Is there any solution please?
Every time I open R-Studio the program lags, freezes and stops to work. Is there any solution please?
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
To provide a solution, one must first properly diagnose the problem. Please explain better what happens when you open RStudio. Is your computer just crap (not powerful), or are you running RStudio in a different way, e.g., on a remote server via a web-browser?; what type of analyses are you trying to do?; are there any error messages?
I ran the file from RGui and it worked, the file was broken on R-Studio...Thanks
That does not add any detail. Try to remove and reinstall it. It’s not bioinformatics-related so I suggest to contact their support or open a post with details in the RStudio help forum.
OP probably has R installed through a package manager (homebrew/conda) and updated it. I used to run into this all the time, which is why I use R for macOS directly and never through a package manager.
Thanks for your help @Ram @ATpoint but I discovered that it's the only file that has problem, all other files work well that's why I think the file was broken, the file was open on R studio freezes the program that's why I thought its a problem with R-studio not with the file
What kind of file is it? If it's an Rproj file, conflicting versions could be a problem. If it's a data file, it's probably the data size.
R markdown
Your RStudio crashes when you try and open an Rmarkdown file? There's probably something in that file that doesn't compute (large file load, contacting an external server and timing out etc.).
Edit the R markdown file using a text editor, comment out lines that either have a lot of IO or a lot of compute happening and try loading the file. Do this test iteratively to find which line causes the crash. Once you have that line, you'll know what's wrong and you can then fix it.
How is this related to bioinformatics? This is a general software product related question.
This post does not fit the theme of this forum.