ContinuumIO / anaconda-issues

Anaconda issue tracking
646 stars 220 forks source link

RStudio unexpected behavior #1732

Open ghuiber opened 7 years ago

ghuiber commented 7 years ago

The red 'stop' button is disabled in my Anaconda-installed RStudio. I reported this here and here and RStudio people directed me to this issue tracker, so here goes. As it is, it seems to me that Shiny apps and dashboards cannot be stopped gracefully if your RStudio was installed via Anaconda Navigator. You have to shut down RStudio and restart it.

mingwandroid commented 7 years ago

Thanks. I'll look into this when I can. Not going to be for a few weeks though.

ghuiber commented 7 years ago

This is a gentle reminder. I wonder if other people have run into the same issue and fixed it off-record somewhere.

mingwandroid commented 6 years ago

Sorry for the delay. I tested with:

curl -SLO https://repo.continuum.io/miniconda/Miniconda3/Miniconda3-4.3.30-MacOSX-x86_64.sh 
bash ~/Downloads/Miniconda3-4.3.30-MacOSX-x86_64.sh -bfp /tmp/m3
. /tmp/m3/bin/activate
conda install -y rstudio r-shinydashboard
rstudio

.. then I followed http://rstudio.github.io/shinydashboard/get_started.html and I ran into the same problem. The stop button clears the Viewer pane if you are running it there, does not close the other window if you are running it there.

I need to find time to look into this. I found that instead of using the stop button I was able to restart the R interpreter via Shift+Command+F10. Does this work for you? Is it an acceptable workaround or does it cause other issues?

@csoja, can we mark this for 5.1 so it doesn't get forgotten about?