Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slowness when calling View() #1593

Closed
kevinushey opened this issue Oct 11, 2017 · 8 comments
Closed

Slowness when calling View() #1593

kevinushey opened this issue Oct 11, 2017 · 8 comments
Labels

Comments

@kevinushey
Copy link
Contributor

https://community.rstudio.com/t/rstudio-1-1-383-very-slow-to-open-view-tab-on-windows-7/1865

May be related to #1592 -- a number of users have reported that this occurs when RStudio, their R library, or some combination of both live on network shares.

@kevinushey
Copy link
Contributor Author

One user has reported this on macOS: https://community.rstudio.com/t/rsstudio-1-1-perfomance-issues/1915; perhaps it's not Windows-only?

@kevinushey kevinushey changed the title Slowness when attempting to View() in some Windows environments Slowness when calling View() Oct 11, 2017
@ateucher
Copy link

I posted in the Community forum - reposting here:

I had this same issue and figured out a workaround that has been doing the job. It seems to happen when your HOME is on a network drive (as it often is in an enterprise environment).

My workaround is here: https://gist.github.com/ateucher/f279abc1f7ba12f2763152c18810fb24 - essentially I just set the HOME env var to a location on my C: drive. As far as I can tell, HOME is generally unused (and unset by default) in Windows, so making this change didn't really change anything else on my system, except in the bash shell that comes with Git for Windows.

@kevinushey
Copy link
Contributor Author

I have a suspicion that this issue may be resolved in the current preview release of RStudio (hopefully to be published in the near future as a patch release):

https://www.rstudio.com/products/rstudio/download/preview/

@ateucher, if you have a minute would you be willing to test the preview release (v1.1.393) and let us know if the issue is still present?

@ateucher
Copy link

@kevinushey I'm no longer on Windows, but my colleague @boshek said he can give it a whirl.

@boshek
Copy link

boshek commented Dec 11, 2017

This indeed does appear to be fixed at least on my Windows 7 machine. I was able to replicate the error in v1.1.383 but not in v1.1.393. The View() popped up a pane very speedily.

@kevinushey
Copy link
Contributor Author

That's excellent news! Thanks for taking the time to check.

@DuraQ
Copy link

DuraQ commented Dec 12, 2017

v1.1.393 fixed the issue I had where R-Studio would not work whenever my home (network) drive was connected. I can finally stop using Eclipse and go back to R-Studio !

@JanOosting
Copy link

I also experienced slowness of view() with a home folder on a network drive

Installing the current preview (1.1.402) solved this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants