Cannot paste file path using Ctrl+V in RStudio v1.2.1335

In RStudio v1.1.463 or below, I typically can use Ctrl+C in File Explorer to copy a file or folder, then Ctrl+V in RStudio to get the path to the file or folder (e.g., file:///C:/Users/montblanc/Downloads/RStudio-1.1.463.exe). This was convenient and also completely bypasses the black-slash/forward-slash issue on Windows machines.

I installed RStudio v1.2.1335 yesterday and this was no longer possible. Ctrl+V does nothing. I've tried:

  • Restarting
  • Uninstalling RStudio and reinstall v1.2 (instead of installing when v1.1 was present)
  • require(yaml) since it is missing in the v1.2 sessionInfo()
    but Ctrl+V still does not work as before.

Is this an actual change in v1.2 or just a bug? For now I've downgraded back to v1.1.

Comparing the sessionInfo() of the two, only yaml_2.2.0 is missing from v1.2:

v1.1.463

> sessionInfo()
R version 3.5.3 (2019-03-11)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] 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     

loaded via a namespace (and not attached):
[1] compiler_3.5.3 tools_3.5.3    yaml_2.2.0

v1.2.1335

> sessionInfo()
R version 3.5.3 (2019-03-11)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17134)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] 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     

loaded via a namespace (and not attached):
[1] compiler_3.5.3 tools_3.5.3

This seems like an unintentional change resulting from some behind-the-scenes architecture changes made in RStudio. Would you mind filing this as a bug report at https://github.com/rstudio/rstudio/issues?

EDIT: Nevermind, looks like it's already been noted: https://github.com/rstudio/rstudio/issues/4572


Hi Kevin, thank you for the reply. I will submit a report following the link.

Another wrinkle: I tried v1.2.1335 on an Ubuntu 18.04 machine and the copy/paste functionality works fine there. So not sure what the problem is. Here's the sessionInfo() from that one:

> sessionInfo()
R version 3.5.3 (2019-03-11)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.2 LTS

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

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

loaded via a namespace (and not attached):
[1] compiler_3.5.3

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.