Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Create chunk with shortcut (ctrl+alt+i) and then paste (ctrl+v) causes Rstudio to become unresponsive. #6226
Steps to reproduce the problem
I originally posted about this bug here: https://community.rstudio.com/t/create-chunk-with-shortcut-ctrl-alt-i-and-then-paste-ctrl-v-causes-rstudio-to-freeze/52849/3
Describe the problem in detail
After following the above steps, the code does not get copied and RStudio becomes unresponsive in ~ 75% of cases. If it doesn't freeze, repeating steps 9 and 10 eventually causes the problem to occur. Rstudio doesn't freeze/crash in the traditional sense (i.e. white screen/unexpected closing). Instead, the cursor is still present and flashing, and it all looks normal, but I can no longer type or engage with the gui.
This bug seems independent of RStudio versions or R.
Describe the behavior you expected
I expect the code I copied in step 7 to be pasted into a new chunk in step 10.