RStudio v. 1.4 and pre-released Build 341 crash every single time on R 4.1.1 32-bit but works fine on 64-bit

Crash Information:

Description of crash -

Steps to reproduce -

System Information:

  • RStudio Edition: Desktop
  • RStudio Version: 2021.09.0 Build 341 and 1.4.1717
  • OS Version: Window 10 Enterprise
  • R Version: R.Version()
    [1] "i386-w64-mingw32"

[1] "i386"

[1] "mingw32"

[1] "i386, mingw32"

[1] ""

[1] "4"

[1] "1.1"

[1] "2021"

[1] "08"

[1] "10"

$svn rev
[1] "80725"

[1] "R"

[1] "R version 4.1.1 (2021-08-10)"

[1] "Kick Things"

  • Your sessionInfo():

R version 4.1.1 (2021-08-10)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

[1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252 LC_MONETARY=English_Australia.1252
[4] LC_NUMERIC=C LC_TIME=English_Australia.1252

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:


  • 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
  • RStudio application log files:

From Troubleshooting Guide: RStudio Crashed

@chinhqho I'm trying to reproduce this issue, but it's working for me.

  1. Can you describe the nature of the crash? A screenshot might help, too.
  2. One thing I notice, even though we're both using Windows 10, is that your sessionInfo() returns

Running under: Windows >= 8 x64 (build 9200)

but mine returns

Running under: Windows 10 x64 (build 19043)

What do you get with win.version() in RStudio and in standlone R?


@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)"

@chinhqho Some more:

  • Is think you have both the 32-bit and 64-bit of R installed, is that correct?
  • If so, what do you get for each in the R GUI with win.version()?
  • And if so, what happens with win.version() in RStudio with each version of R?

Also, I reopened an old issue,, as this might be a regression.

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)"

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:

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 (
license: Advanced

                   repos ="",


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...

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

- 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                  


> sessionInfo()
R version 4.1.1 (2021-08-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)


> sessionInfo()
R version 4.1.1 (2021-08-10)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 10 x64 (build 18363)

This topic was automatically closed 21 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.