change lines are very slow in Rstudio on Mac - r

In the past few days, I am experiencing this weird problem which I never had before. When I want to change lines (by hitting return button) in Rstudio, it is almost frozen for a few seconds (have the spinning loading sign on Mac). It's really annoying now, as it happens almost every time I change lines. I tried to restart my computer, closed all other applications, and even updated Rstudio, but problem doesn't go away. I am on Rstudio version 0.99.486, and OS X version 10.9.5. Does anyone have this problem before, what's the matter? thanks!

Related

RStudio plotting issue with Mac

I bought a new M1 Macbook and installed R and Rstudio. Everything worked fine for two weeks then suddenly Rstudio plotting stopped working. Rstudio gets busy, but nothing happens. I can let it run for hours, but even plot(mtcars) doesn't work.
There's no error message, just Rstudio is stuck. The issue seems to be coming from r. I deleted all R and Rstudio files and re-downloaded the most recent versions, but it didn't fix the issue. Everything else works excepting plotting. I'm thinking of re-installing the OS but would rather not if there's a less drastic solution.

RStudio Freezing

I have tried redownloading R and RStudio. I've also tried downloading it from Microsoft Edge and Google Chrome. When I run RStudio. It completely freezes and I cannot write edit anything and I also cannot close out RStudio without doing Ctrl+Alt+Delete to Task Manager to end task.
R (standalone) R x64 4.0.3 runs perfectly fine.
Does anyone else have this issue currently? This just started recently.
EDIT: I found a solution where if I open up a separate RStudio window while the one that is frozen is still present, and then CTRL+ALT+DELETE to remove the other window. Then it runs. Although, I would like to find a better solution in the future.
After 10 min the original frozen version works
Figured it out. If you delete a file that is found in the tab of RStudio. You need to wait 5-10 min until it unfreezes and then delete those tabs from RStudio.

Rstudio does not open or is terribly slow

When I open RStudio, sometimes I get the error page and need to retry many times (after having launched Rgui) before to be able to access it.
Furthermore, once RStudio starts, it is terribly slow. The first 5 minutes I just have an empty screen see attached
I can't create a new project (I click on file-new project but nothing happens) and I can't even run easy codes (just tried 3+4 and it took 2 minutes to give me the result).
I tried to create a new project (took 5 minutes) but it still gives me the same problem.
I have reinstalled it yesterday and it was working fine.
R and RStudio versions are the latest, Windows 10

Jupyter notebook is eating all my memory and then crashes

I have been getting involved with the Python language, and especially through Jupyter notebook. I think Jupyter is great for prototyping code in a very convenient way. I've been working on code according to this tutorial over the past 2 days:
https://medium.com/#omar.ps16/stereo-3d-reconstruction-with-opencv-using-an-iphone-camera-part-iii-95460d3eddf0, and it's been working fine.
However, when I woke up this morning, it seems that a memory issue is causing Jupyter to crash. When I start Jupyter, there is no such memory issue, it is only when I click on my particular notebook file. Then the memory gradually increases (as seen on the task manager). Also, the screen is non-reactive, so I cannot reach the restart kernel or any of these options in the kernel. After about 30 seconds, the entire Jupyter system crashes due to a memory overflow.
I would greatly appreciate any help with this problem.
Okay I figured out that I was printing a huge matrix out, which blocked up the system. I had to open the notebook with notepad++, and get rid of the data that way, and everything is running fine. Stupid mistake.

RStudio (0.99.473) on Win 7 64-bit SP1 -- Empty Parent Window on Startup, Nothing Works

I'm trying to run RStudio 0.99.473 on my Windows 7 64-bit SP1 machine. Everything was going well until I attempted an unsuccessful plot command. After that point, I have not been able to produce a plot in RStudio.
I have tried uninstalling and reinstalling both RStudio and R (version 3.2.2) several times. I have been doing several searches for a couple hours now and have had no luck. I have navigated to %localappdata%\RStudio-Desktop, but deleted the RStudio-Desktop folder before I thought about or saw any advice to just re-name it. I've attempted to navigate to %USERPROFILE%\Local Settings\Application Data\RStudio-Desktop but apparently I am unable to access it.
Now when I try to run RStudio, even after performing a fresh install, I get this terrible empty parent window with only the words in the menu bar. Clicking on the menu words produces nothing. Basically, all the usual advice that I've seen in my searches is not working. Nothing seems to reset the settings back to the default.

Resources