For some reason, R keeps getting stuck whenever I try to plot something. Neither ggplot or base R is working, and I've tried this in both RStudio and R. I do not receive an error message, but when I run code like the code below, the command just runs endlessly and I end up having to terminate the session.
x <- rnorm(100)
hist(x)
Here are the technical details:
R version 4.1.2 "Bird Hippie"
OS: macOS Monterey 12.2.1
I've tried dev.off(), which isn't really a solution to my problem. Does anyone have any clue what's going on?
I tried running the code in both R and RStudio and get the same result. R just runs endlessly with no output or error message.
Related
I have seen the message after I terminated R, as one of options proposed while I was constantly getting this message R is taking longer than usual
I am using R x 64 Version 4.1.0
RStudio 1.4.1717, "Juliet Rose" (df86b69e, 2021-05-24) for Windows
Several times, I have attempted to uninstall(and clean AppData)/ reinstall both R and Rstudio, with no improvement.
A reinstallation of RStudio should fix this.
i upgraded to R-version 3.5.3 and R-studio 1.1.463 then i don't see my output on my R-console anymore, please help me with suggestions to solve this problem.
i have tried by r-installing R-studio
i want to be seeing my output on my console in R-studio
attached herein is my data, am using precintcon package in R to do analysis on my data.
R is hanging and freezing when I try to save as, happens on scripts and graphics files. R is running:
R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree"
This error message happens every time I try to save as, aswell.
objc[7900]: Class FIFinderSyncExtensionHost is implemented in both
/System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit
(0x7fffa33dfb68) and
/System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride
(0x10993bcd8). One of the two will be used. Which one is undefined.
Have tried to use things like running R from bash like suggested in other answers to R hanging but this doesn't help.
I have been using R & RStudio for around a year now. When trying to open RStudio, it would keep loading, or give me a blank RStudio page. I read the RStudio Desktop Would Not Start, and other helpers, and I think there was a connection issue with R, so I deleted both R & RStudio. I then downloaded RStudio again, the latest version, and downloaded R 3.3.3, because I'm using a Mac OS X Yosemite version 10.10.5 and therefore can't get R 3.4. Anyway, so, when I re-downloaded R, it would open, but my mouse would just keep spinning and it wouldn't work or it would instantly crash. I couldn't type anything or do anything.
Here is what it currently looks like. My mouse would also be spinning, and it would slow my entire computer down.
I tried removing files such as .Rprofile, .Renviron, and .RData, but that didn't work.
I also still can't open RStudio.
If I type Sys.which("R") in my Terminal I get this error:
-bash: syntax error near unexpected token `"R"'. "
Would anybody please, please be able to help? I really miss using R & RStudio and am out of ideas.
When using the folder picker tk_choose.dir from the tcltk module in R, I get intermittent and unexpected line feeds in the console afterward. Whatever I try to get rid of it, nothing works but restarting R Studio.
Example:
library(tcltk)
FolderName <- tk_choose.dir("C:/")
Does anyone know what triggers this line feed and how to avoid it? Up until now the internet hasn't been really helpful.
R version 3.3.0 (2016-05-03)
RStudio 0.99.896
tcltk 3.3.0
Windows 7