ctrl + shift + m (pipe operator) shortcut is suddenly stop working since this morning.

ctrl + shift + m (pipe operator) isn't working. I have checked my keyboard shortcuts. It's there.
It worked yesterday.
I will highly appreciate any solution.

Sessioninfo:

R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] forcats_0.5.1 stringr_1.4.0 dplyr_1.0.7 purrr_0.3.4
[5] readr_2.0.1 tidyr_1.1.3 tibble_3.1.4 ggplot2_3.3.5
[9] tidyverse_1.3.1 writexl_1.4.0 readxl_1.3.1

loaded via a namespace (and not attached):
[1] Rcpp_1.0.7 lubridate_1.7.10 assertthat_0.2.1 digest_0.6.27
[5] utf8_1.2.2 R6_2.5.1 cellranger_1.1.0 backports_1.2.1
[9] reprex_2.0.1 evaluate_0.14 httr_1.4.2 pillar_1.6.2
[13] rlang_0.4.11 rstudioapi_0.13 rmarkdown_2.10 bit_4.0.4
[17] munsell_0.5.0 broom_0.7.9 compiler_4.0.3 modelr_0.1.8
[21] xfun_0.25 pkgconfig_2.0.3 htmltools_0.5.2 tidyselect_1.1.1
[25] fansi_0.5.0 crayon_1.4.1 tzdb_0.1.2 dbplyr_2.1.1
[29] withr_2.4.2 grid_4.0.3 jsonlite_1.7.2 gtable_0.3.0
[33] lifecycle_1.0.0 DBI_1.1.1 magrittr_2.0.1 scales_1.1.1
[37] zip_2.2.0 cli_3.0.1 stringi_1.7.4 vroom_1.5.4
[41] fs_1.5.0 xml2_1.3.2 ellipsis_0.3.2 generics_0.1.0
[45] vctrs_0.3.8 openxlsx_4.2.4 tools_4.0.3 bit64_4.0.5
[49] glue_1.4.2 hms_1.1.0 parallel_4.0.3 fastmap_1.1.0
[53] yaml_2.2.1 colorspace_2.0-2 rvest_1.0.1 knitr_1.33
[57] haven_2.4.3

4 Likes

Same problems here. It seems the error is not random. Waiting online for further help.

2 Likes

Same problem here, i try this solution but dosnt work: Pipe shortcut stops working (Win10)[SOLVED]

2 Likes

Same problem here, and it's affecting other users on our network.

2 Likes

Hi All,

I have just modified the keyboard shortcut to "Ctrl + Shift + ."
It's working now.
I think the older keyboard shortcut for the pipe is compromised by something else idk.

Thanks.

1 Like

Also same problem, it is also impossible to record again the shortcut "Ctrl + Shift + M" for the pipe operator, although any other letter would work. Really weird.

1 Like

Please move on with the other letter. I have spent 1 day typing the pipe operator. It was like Hell. (Ohh yeah, it took me 24 hours to have the idea that I can change keyboard shortcut to something else. )

I changed mine to Ctrl + Shift + , (comma) so I only had to adjust my muscle memory over by one letter. lol

I don't know if it was always this way, but the current Keyboard Shortcuts also shows "Expand to Matching" as using the Ctrl + Shift + M shortcut in the Editor. BUT even when I removed that conflict, the original pipe shortcut still wouldn't work.

1 Like

Likewise - same problem:

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

Matrix products: default

locale:
[1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252    LC_MONETARY=English_Australia.1252 LC_NUMERIC=C                      
[5] 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
1 Like

Could I get your versions of RStudio and other system information? (and thank you to those who have already) This will help us diagnose the issue.

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

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] rvest_1.0.1         Microsoft365R_2.3.1 scales_1.1.1        kableExtra_1.3.4    googlesheets4_1.0.0 lubridate_1.8.0     knitr_1.36          tinytex_0.34       
 [9] forcats_0.5.1       stringr_1.4.0       dplyr_1.0.7         purrr_0.3.4         readr_2.0.2         tidyr_1.1.4         tibble_3.1.5        ggplot2_3.3.5      
[17] tidyverse_1.3.1     glue_1.4.2          blscrapeR_3.2.0    

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.7        svglite_2.0.0     assertthat_0.2.1  digest_0.6.28     utf8_1.2.2        R6_2.5.1          cellranger_1.1.0  backports_1.2.1   reprex_2.0.1     
[10] evaluate_0.14     httr_1.4.2        pillar_1.6.3      rlang_0.4.11      curl_4.3.2        readxl_1.3.1      rstudioapi_0.13   rmarkdown_2.11    AzureAuth_1.3.3  
[19] webshot_0.5.2     googledrive_2.0.0 munsell_0.5.0     broom_0.7.9       compiler_4.1.1    modelr_0.1.8      xfun_0.26         askpass_1.1       pkgconfig_2.0.3  
[28] systemfonts_1.0.2 htmltools_0.5.2   openssl_1.4.5     AzureGraph_1.3.1  tidyselect_1.1.1  fansi_0.5.0       viridisLite_0.4.0 crayon_1.4.1      tzdb_0.1.2       
[37] dbplyr_2.1.1      withr_2.4.2       rappdirs_0.3.3    grid_4.1.1        jsonlite_1.7.2    gtable_0.3.0      lifecycle_1.0.1   DBI_1.1.1         magrittr_2.0.1   
[46] cli_3.0.1         stringi_1.7.5     fs_1.5.0          xml2_1.3.2        ellipsis_0.3.2    generics_0.1.0    vctrs_0.3.8       tools_4.1.1       hms_1.1.1        
[55] rsconnect_0.8.24  fastmap_1.1.0     colorspace_2.0-2  gargle_1.2.0      haven_2.4.3      

Same problem since yesterday or today (it worked 48 hours ago).

R Version:

R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

RStudio version:

RStudio Server
Version 1.3.1093
© 2009-2020 RStudio, PBC

"Apricot Nasturtium" (aee44535, 2020-09-17) for Ubuntu Bionic

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

EDIT:
I can replicate the problem on another machine (edited 25.10.2021) working on local, hard-drive-installed R + RStudio versions rather than R Studio Server:

R version 4.0.2 (2020-06-22) -- "Taking Off Again"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

RStudio Version 1.3.1056
© 2009-2020 RStudio, PBC
"Water Lily" (5a4dee98, 2020-07-07) for Windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.8 Chrome/69.0.3497.128 Safari/537.36

Same problem in my AMD hardware. Take a look at this video I've made.

1 Like

Having the same problem as everyone else. There was another shortcut assigned to Ctrl+Shift+M, reassigning this made no difference and was unable to change it back. I tried updating RStudio to the latest release but it made no difference.

Also having a problem here in R studio Workbench. Can't reassign either. Pretty frustrating when it worked yesterday.

I am having the same issue, here is my R workspace.

R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

[Workspace loaded from H:/PhD/Projects/WOW Paper/.RData]

Hi @ForNoob I tried it but it still doesn't work

Hi all, sorry so many are having this problem.

I reached out to the RStudio IDE team, who has helped folks diagnose this issue in the past. In their experience it's typically not a change to the IDE, and instead caused by another piece of software conflicting with RStudio's keyboard shortcuts. Here's an example of that, Pipe shortcut stops working (Win10)[SOLVED].

If this is the underlying cause of your pipe shortcut failing all-of-a-sudden, it would explain why changes to RStudio's shortcuts or reinstalling the IDE don't resolve the issue.

I would check to see if there was update to a commonly used piece of software caused it to take over our shortcuts.

Thanks for the response, I work with a Windows Computer, how do I find the software thats interfereing? I haven't installed anything intentionally to change it, so it has to be an update.

Ira

In my case the app that hijacked shortcut was WebEx. Ctrl + Shift + M switches to music mode. There is an option to disable this shortcut in WebEx call options, but it did not solve the problem. I have to turn off WebEx application completely to re-enable RStudio shortcut. Interestingly it takes few minutes after I turn on WebEx until the shortcut is hijacked again and stops working in RStudio.

6 Likes