Ijust installed RStudio for the first time since someone showed me I could make RevealJS slides from Markdown. However, everytime I open RStudio (open source desktop version), it freezes. I can move the mouse for a few seconds or perhaps click once (menu, button, etc.), but the program hangs and needs to be restarted.
I think @squeezer44 might have been trying to find out if maybe the hang happens when RStudio tries to start up R, in which case the culprit might be a problem with your R installation. (If you read that sentence and suddenly felt , you might want to take a look at: Differentiating R from RStudio).
Someone had a superficially similar problem recently that seems to have been an interaction with a background program. A next step might be to read through that thread and see if any of the troubleshooting steps help you, too?
We've found that if we have our default working directory set to a network drive (h:) rather than C:, RStudio is so slow that it's unusable. This wasn't always the case though - only seems to be a relatively recent thing.. Our h: drive is also available offline via Offline Folders, so that might be another complicating factor.
What version of RStudio are you running? There's been a number of network-drive-related issues filed in the past, and development effort toward resolving them. Since network drives don't seem to be involved in @rob7's problem, probably best to also open a new topic if you want more help with this?
I'm not sure if this is what you meant or not, but if you were originally interested in the revealjs R package, note that it's not dependent on RStudio: GitHub - rstudio/revealjs: R Markdown Format for reveal.js Presentations
Hi all!
I am new to using R studio and taking an online course. I followed all instructions to download and when opening a new project R studio is non-responsive. This has been going on for a few days and I cannot find any help online. I would be grateful if you could help as I have a deadline in a couple of days!
I've tried to reinstall Git and Rstudio and also reset the Rstudio setting, and successfully cloned a repo from GitHub. However, I the Git tub is not showing and the Terminal looks just like a Window Terminal (not like a Git Terminal). In the Global Options, my Git executable and SSH RSA key are showing up. My git version is 2.34.1.windows.1
However, even after I just cloned the project, when I went to the Project Options, "Version control system" was saying "None".
I was working well with my setup, but suddenly yesterday my Git tab was gone.
The only thing I can suspect is that my office computer was reconfigured to have the OneDrive folder as the default folder. But even then, I create a soft link from the folder where I have my ssh key to the new HOME folder.
I hope you can help me with this bizarre issue.
Do you mean the git tab alonside Environment and History on the right? I think this only shows up if you actually use version control in the project you are working on. To enable version control go to Tools->Project options->GIT/SVN and choose git in the dropdown menu. Maybe your project settings were mangled in the move from home to onedrive.
Hope this helps,
Valentin
Hi Valentin,
Thank you for your response. It's the Git tab alongside the Environment and History tabs.
I can still use git manually. I can push it to my Git repo. But it still wouldn't show me the Git tab.
As I mentioned above, I tried to clone my repo. But the moment it's successfully cloned, I cannot see the Git tab, and when I went to Tools -> Project Options -> Git/SVN it showed "(None)".
I just don't think the project settings were mangled from home to OneDrive because I cloned the project from the GitHub repo. Hence, there shouldn't be any problem with the default project setting.
I also included a picture for your reference. As in the screenshot, my branch is up-to-date (since I just cloned it), but the tab would not show up and version control system is "None".
And clicking on "(None)" does not give you the option to choose git? Apart from that you could try usethis::use_git() on your project, this may fix things. You may need to install that package by running install.packages("usethis"). Apart from that I am at a loss unfortunately. Best of luck!
Okay that's weird. Well at this point I am only guessing, I'm sorry.
What about starting a new project using git from the beginning? Is the git tab present then? In that case it may be worth the try setting up a new project with git (new project -> new directory -> check "create git repository" ) and connecting to your remote branch afterwards?
Apart from that, you may also try resetting the project state by renaming the hidden folder ".Rproj.user" in your project directory.
Due to a new movement in the tech industry, organizations (e.g., companies or universities) will not allow their members to have complete control of their machines (i.e., administrative privileges or running programs as administrators).
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.
Yesterday, I was using RStudio with zero issues. This morning, I boot up my machine and start RStudio, only for it to fail to start. I've gone through all the steps shown in this article: I've removed the start up files; I've held ctrl while starting RStudio to make sure it can find R (which it does); my firewall, proxy settings, and antimalware don't seem to be interfering; I've checked the permissions of my desktop directory; and I've reset RStudio's state. I've even gone so far as to uninstall and re-install twice, to no avail.
My understanding is that this can occur if something on the system (e.g. a firewall or antivirus) is blocking the connection RStudio attempts to make with the underlying R session. You might want to check things like Windows Defender and other software you have installed to see if they might be causing an issue.
Strangely enough, when I troubleshot, Windows Defender showed RStudio was allowed (both private and public). I double checked my other software, and none of them are blocking RStudio. RStudio still won't open for me.
So, I've double checked my firewalls, and they're all set to allow RStudio through. I've double checked all the start up files, and moved them to a new folder. I've reset RStudio's state. I've uninstalled and reinstalled. I've forced RStudio to use older versions of R, as well as trying both the 64 bit and the 32 bit versions. RStudio continues to not start.
You can try creating a Windows Minidump. First, you need to enable Minidumps explicitly. Microsoft provides explicit instructions at -us/windows/desktop/wer/collecting-user-mode-dumps. If you'd like to automatically enable user-mode dumps, you can also try importing the following registry file:
replacing %USERNAME% with your Windows username as appropriate. Note that AppData is a hidden folder, so if you're trying to navigate to it in the Windows explorer you'll need to ensure hidden files and directories are made visible.
Depending on what application has crashed, you should see dumps for either rstudio.exe or rsession.exe. If the file is large, you might consider uploading it to a cloud storage provider (DropBox, Google Drive, Windows OneDrive) and sharing a link to that file for us to examine.
When I tell my computer to pane the windows sideway/stacked with only RStudio and one other app open, half the screen is blank so it's quite literally as if the window is invisible. When I hit Win+Tab I can see it among the active windows but selecting it, or even trying to drop it to a second desktop does not resolve the issue. I tried cascading windows and it shows a gap as if there is a window there but agian it is literally just invisible. Win+arrows doesn't help either.
I tried the right click on start to get the dialogue box which did show up. I switched from Auto detect to Desktop OpenGL and to Software, on two different versions of R (3.5.3 and 3.5.1) and neither did anything different.
A colleague helped me resolve the issue. I had to hover my mouse over the RStudio icon on the taskbar until the preview popped up. When I moved up to hover over that I was able to right click and select maximize which brought the window back.
I don't really understand what happened because if it was simply the case that the window was minimized, then win+arrows, cascade windows, or tile windows should have brought it back. It also doesn't explain why when, for example, I selected cascade windows that it "skipped" a step and acted like a phantom window was there, or when I had two windows open (chrome + RStudio) and selcted "show side by side" it put chrome on the left half and the right half showed the desktop.
Regardless, multiple people have clearly had the same problem so I wanted to be sure to post my answer for others having the same problem in the future. I felt like I was in xkcd 979, so now hopefully the next person won't feel the same way.
The documentation below provides information based on the default layout/options of each pane. The specific components within each pane and overall arrangement of panes can be modified by opening the Tools > Global Options > pane Layout.
The source pane allows users to view and edit various code-related files, such as .R, .rmd, .qmd, .py, .css, or general text files such as .txt or .md. By default it is the top-left panel and can be launched by opening any editable file in RStudio. Each additional file that is opened will be added as a new tab within the Source pane.
3a8082e126