R-studio freezes error
0
0
Entering edit mode
2.2 years ago
Amr ▴ 180

Every time I open R-Studio the program lags, freezes and stops to work. Is there any solution please?

RStudio offtopic • 2.7k views
ADD COMMENT
0
Entering edit mode

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?

ADD REPLY
0
Entering edit mode

I ran the file from RGui and it worked, the file was broken on R-Studio...Thanks

ADD REPLY
1
Entering edit mode

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.

ADD REPLY
1
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

R markdown

ADD REPLY
0
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

How is this related to bioinformatics? This is a general software product related question.

ADD REPLY
0
Entering edit mode

This post does not fit the theme of this forum.

ADD REPLY

Login before adding your answer.

Traffic: 2445 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6