Rstudio does not open or is terribly slow - r

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

Related

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 Project stalls even without running anything

One of my RStudio projects stalls even before I've run any code or loaded any packages or data. I can edit scripts but it won't save them and it won't run code in the console. I am still able to use R from the terminal. After some time (in the range of an hour or so), multiple dialog boxes will pop up with the message Unable to establish connection with R session. I've seen a similar thing before when loading big datasets or running something computationally intensive but never before I've even run any code or loaded any data.
My other Projects don't seem to have the same problem.
I've also filed an issue here on the RStudio github with some screenshots and log files in case that's helpful.
The solution was to update the data.table package. See the issue I filed or this thread on RStudio community

Visual Studio 2015 download getting stuck at applying Microsoft ASP.net

I'm currently on my third attempt trying to install Visual Studio 2015 on this computer. I have tried rebooting, hard shut downs, canceling setup and restarting, etc. Each time, it gets stuck at applying Microsoft ASP.net. I have tried leaving it overnight (12 hours). My download speed is 50-60 MBPS according to Ookla Speedtest. I am running Windows 10. I did do a "custom" installation and added C++, Python, and the Git extension. If I am not mistaken it said 7 GB size. Why is it doing this? Please help!
I don't understand why this isn't working because I installed VS 2015 for my laptop (a different computer) just a few days ago on a relatives WIFI and their speed was 3-7 MBPS.
(Note: The installer is not technically frozen since the loading dots on the bottom are moving.) However, bar hasn't filled up at all for like 6 hours.
EDIT:
Do I need ASP.NET (for C#, Python, and maybe C++)? Can I uncheck certain features for installation so that it wont try to install this? Also, when I cancel installation it never cancels and just stays there so I have to kill the installer with the task manager. This is getting incredibly frustrating.
Fixed it...
Easiest way is "threaten" to shut down the computer. Go into Power, restart system. You will be warned that there is a logging program which will not let the system reset. Cancel that program and then do NOT restart.
Installer immediately went on to next part and finished install after having been stuck for 6 hours...
I got it to work, it wasn't perfect, but here is what I did: It was getting stuck at very certain points, most notably ASP.NET. I did a little research and got an idea from something I read (I unfourtunetly can't find the source again). Sometimes windows opens invisible "confirm" type windows or installer windows that get stuck. When the installer got stuck I opened up task manager -> details, than checked On the visual studio process by right clicking then clicking analyzing wait chain. This showed me what process the VS install was waiting for. Then, I'd just kill the process. Messy, I know, but better then nothing. I had to do that 2 or 3 times. Afterward it said it installed correctly with 2 components that had warnings. ASP.NET was included. But everything else worked fine (c#, C++) Later I went back and did a repair. That worked pretty smooth. Finally, I installed the Python Tools successfully. (that part is sort of irrelevant but the point was that everything is now working fine).
edit, found another source: Visual Studio 2015 Community Edition Installation Stuck In Windows 10
Yes i had this problem too. To solve this open task manager and go to details tab then search for TiWorker.exe, right click on it and choose analyzing wait chain it will display many instances of the process that are in waiting mode , check all those processes and terminate them after doing this the installer will go to the next step.
To avoid this problem, you have to install IIS first.
Go to Control Panel -> Programs -> Turn Windows features on or off -> Select "Internet Information Services" -> OK
I had this problem a couple of hours before writing this answer and what worked for me was:
I opened other programs at least two or three and went to power and clicked on restart as usual it will warn you about open programs that need too be closed before shutdown or programs that are currently active I then clicked on force close and it closed the first program that I recently opened then I quickly clicked on cancel. Two minutes later instalation was back on track
Press Ctrl+Shift+Esc, then go to Tiworker.exe and terminate all the waiting processes.
I found a solution to this headache of a process to install Visual Studio. If you have tried everything and nothing seams to be working for you even by trying the command line shell then try this.
Go open task manager while running the installer and kill wusa.exe. It will kill the process to search for the update and continue the installation. You may have to kill some other processes as well if they get stuck. Its not great but it seams to be working.
wusa.exe seams to be the task that is the problem that prevents the installer from moving to the next step. This could be because your computer can not reach the update server.
This seams to be the case for both the Community and Enterprise Version of Visual Studio.

change lines are very slow in Rstudio on Mac

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!

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