Post

7 followers Follow
5
Avatar

RStudio 1.1 very slow to open View() tabs on Windows 7

I've been trying the latest preview builds, including the latest daily build as of this writing (1.1.339) and, weirdly, View() takes a very long time to open a new tab to view a data frame, upwards of 20 seconds on the wall clock. This happens regardless of the data frame source (e.g., mtcars, ggplot2::diamonds, or one I've generated myself) or length (mtcars is just 32 rows, diamonds is 53,940).

It happens regardless of whether one manually types View(mtcars) or clicks the data frame view icon in the Environment panel. The prompt immediately reappears (so system.time() doesn't return the inflated time), but the R session is still blocked (running another command will wait until the View() tab opens).

Here's my sessionInfo():

> sessionInfo()
R version 3.4.1 (2017-06-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C 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.4.1 tools_3.4.1 withr_2.0.0 yaml_2.1.14 memoise_1.1.0 digest_0.6.12 devtools_1.13.3

Evan Cortens

11 comments

0
Avatar

Hi Evan,

Are you running with RStudio on a networked filesystem? This is where we've heard the most issues occurring; it'd be helpful to know if that's true in your case as well.

If so, does it make a difference if you temporarily switch to using only local files?

We'll continue to investigate.

Thanks,
Kevin

Kevin Ushey 0 votes
Comment actions Permalink
0
Avatar

Hi Kevin,

Thanks for getting back to me on this! My RStudio (and my R) are all installed on local drives, so no issue there. 

I'm able to reproduce it simply by starting RStudio and running View(mtcars), so I'm not loading any data over the network.

It's an odd issue, to be sure!

Best,

Evan

Evan Cortens 0 votes
Comment actions Permalink
0
Avatar

Hi Kevin,

I just upgraded to the preview R Studio on Windows 7 and am having the exact same problem Evan notes. Let me know if I can do anything to help to debug.

Matt

Matt Herman 0 votes
Comment actions Permalink
2
Avatar

Hi folks,

Just installed RStudio 1.1.383 and I'm still seeing this same issue. Windows 7, fresh start of RStudio, R 3.4.2, type View(mtcars) into the console, and it takes a good solid 20 seconds for the tab to appear.

I'm not seeing this same issue on my Mac or on my Windows 10 machine, so it could be a Windows 7 issue of some variety.

Thanks!

Evan

Evan Cortens 2 votes
Comment actions Permalink
2
Avatar

Hi everyone,

I'm having the same problem on Windows 7 with a local install of RStudio 1.1.383 and R 3.4.2. For me, Rstudio 1.1.383 usually fails to start (9/10 times), or takes a *very* long time when it does work (> 1 minute). View(mtcars) also takes over a minute to be displayed. The 1.2.91 build also has the same issues for me.

I still also have an earlier version installed (1.1.374) and this seems to work fine.

Thanks,

Graham

Graham Wilson 2 votes
Comment actions Permalink
1
Avatar

Same issue after getting the new 1.1 full release.

 

R version 3.4.2 (2017-09-28)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

 

 

carl mcqueen 1 vote
Comment actions Permalink
0
Avatar

Same issue, but on Windows 10. RStudio 1.0.XXX are stable in this regard.

 

System stats:

RStudio 1.1.183

R 3.4.2 (i386-w64-mingw32/i386 (32-bit))

Windows 10 Enterprise (Version 1607, OS Build 14393.1715)

Mike Judd 0 votes
Comment actions Permalink
0
Avatar

Hi Kevin,

As the OP mentioned, this issue is present even when our home directory is on a local drive, so the posted solution does not apply. 

Thank you,

Mike

Mike Judd 0 votes
Comment actions Permalink
0
Avatar

Same problem here, very very slow relative to what I am used to. I have everything installed locally. Windows 10 and latest R and Rstudio versions (10/19/2017).

R version 3.4.2 (2017-09-28)
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 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252

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

other attached packages:
[1] DT_0.2 plyr_1.8.4 rgdal_1.2-13 sp_1.2-5 RSQLite_2.0

loaded via a namespace (and not attached):
[1] Rcpp_0.12.13 knitr_1.17 magrittr_1.5 bit_1.1-12 lattice_0.20-35 rlang_0.1.2 stringr_1.2.0 blob_1.1.0
[9] highr_0.6 tools_3.4.2 grid_3.4.2 DBI_0.7 htmltools_0.3.6 yaml_2.1.14 bit64_0.9-7 digest_0.6.12
[17] rprojroot_1.2 tibble_1.3.4 htmlwidgets_0.9 evaluate_0.10.1 memoise_1.1.0 rmarkdown_1.6 stringi_1.1.5 compiler_3.4.2
[25] backports_1.1.1 pkgconfig_2.0.1

Jacob Strunk 0 votes
Comment actions Permalink