nbarrowman / vtree

An R package for calculating and drawing variable trees
https://nbarrowman.github.io/vtree
75 stars 6 forks source link

vtree 5.0.0: error message clicking Rstudio Viewer Zoom (after a while) #16

Open sfd99 opened 4 years ago

sfd99 commented 4 years ago

Hi Nick,

VTREE is really useful for EDA. Thanks!.

Q: After rendering any var tree in Rstudio's Viewer Pane and clicking on Zoom, it works 100% fine (for a while). I see a normal zoomed popup.

When I try (for ex).: vtree(mtcars,"am gear cyl") the plot appears ok in Viewer. And the Zoom works, too!.

But..minutes later, if I then click on Rstudio's Viewer Zoom button, I always start getting this error mssg, as a Zoom popup:

**_--------------------------------- This site can’t be reached The connection was reset. Try:

Checking the connection Checking the proxy and the firewall ERR_CONNECTION_RESET

[RELOAD] ---------------------------------_**

It's as if Rstudio gets "tired" of zooming. :-) for ANY vtree, even those vtrees which zoomed ok before, (in the initial minutes of vtree use).

Weird....the above zoom message only appears after some minutes of using vtree. Restarting vtree does not help either.

Help! this is so great...

SFd99. San Francisco _R 4.0.2 (latest) Rstudio 1.3.1056 (latest) Ubuntu Linux 20.04.4 LTS 64bits DELL i7 9th gen CPU w/ 16GB RAM_

nbarrowman commented 4 years ago

Hmm, I just tried this, but didn't experience this problem. I'm using R 4.0.2 on Windows 10, but I can check on MacOS. I wonder if it's an RStudio issue on Linux?

sfd99 commented 4 years ago

Thanks for getting back, Nick.

I really don't know the reason... Maybe Shiny + Viewer Pane combination "times out", after a while?. Clicking [Zoom] seems to work ok for some minutes...

A possible optional workaround:

Just a thought...

SFd99. San Francisco R 4.0.2 (latest) Rstudio 1.3.1056 (latest) Ubuntu Linux 20.04.4 LTS 64bits DELL i7 9th gen CPU w/ 16GB RAM