attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.1.1 tools_4.1.1
Crash Report:
Also:
RStudio diagnostics report:2021-09-15T08:32:01.752132Z [rsession-Chinh Ho] ERROR system error 22 (The device does not recognize the command); OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::crash_handler::initialize(enum rstudio::core::crash_handler::ProgramMode) src/cpp/core/CrashHandler.cpp:358; LOGGED FROM: int __cdecl main(int,char *const ) src/cpp/session/SessionMain.cpp:1866
@rblum , yes, win.version() in RStudio returns:
["Windows >= 8 x64 (build 9200)"
Warning message:
R graphics engine version 14 is not supported by this version of RStudio. The Plots tab will be disabled until a newer version of RStudio is installed.
But the same in Rgui returns:
"Windows 10 x64 (build 19043)"
@rblum,
Yes, I installed both 32-bit and 64-bit.
Running win.version() on RGUI 32 and 64 bit both return "Windows 10 x64 (build 19043)"
Running win.version() on RStudio with the 32-version and 64-bit version of R both return "Windows >= 8 x64 (build 9200)"
Thanks,
Chinh
RStudio does not support Windows 8, which is probably the problem. Is it possible that you have set RStudio to run in Compatibility Mode? If so, could you turn that off? Basically, the opposite of this:
@jonathan,
Thanks for the tip. Indeed, I was running Window 8 compatibility to fix the DPI issue on bigger monitor. I have reversed it back to Window 10 and RStudio v1.4.1717 running on 32-bit works for some packages, but not all. In particular, RStudio v1.4.1717 still crashes every time I call the arcgisbiding package to check the product. However, the same call works fine on RStudio v1.2.5042, which give me the following output:
[1] "Windows 10 x64 (build 19043)"
product: ArcGIS Desktop (10.7.0.10450)
license: Advanced
version: 1.0.1.244
This might be related (?):
I just upgraded from R-4.0.2 and RStudio 1.3.1093 to R-4.1.1 and RSudio 1.4.1717.
I need to use the 32-bit version of R , but RStudio keeps crashing (something like help(mean) beeing enough for that to happen.
Using R 64-bit seems to help, but unfortunately for compatibility reasons that's not an option...
sessionInfo()
R version 4.1.1 (2021-08-10)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 10 x64 (build 18363)
I'm also noticing that RStudio crashes when I open help files if I'm in a 32-bit R, but works just fine with 64-bit R.
RStudio Version 1.4.1717
devtools::session_info()
- Session info -------------------------------------------------------------
setting value
version R version 4.1.1 (2021-08-10)
os Windows 10 x64
system x86_64, mingw32
ui RStudio
language (EN)
collate English_United States.1252
ctype English_United States.1252
tz America/Chicago
date 2021-09-23
Works:
> sessionInfo()
R version 4.1.1 (2021-08-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
Crashes:
> sessionInfo()
R version 4.1.1 (2021-08-10)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 10 x64 (build 18363)