-
-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Hello,
We have a private cloud and have been using Rstudio server (https://www.rstudio.com/products/rstudio/download-server/) for Shiny apps and all sorts. I am trying to build dash apps in it but it's stuck in the loading page for a long time. I wonder any of my settings is wrong. It runs fine on a desktop Rstudio.
my app:
library(dash)
library(dashCoreComponents)
library(dashHtmlComponents)
#https://support.rstudio.com/hc/en-us/articles/202133558-Extending-RStudio-with-the-Viewer-Pane
app <- Dash$new()
app$layout(
htmlDiv(
list(
htmlH1('Hello Dash'),
htmlDiv(children = "Dash: A web application framework for R."),
dccGraph(
figure=list(
data=list(
list(=list(1, 2, 3),y=list(4, 1, 2),type='bar',name='SF' ,
list(x=list(1, 2, 3),y=list(2, 4, 5),type='bar',name='Montr\U{00E9}al')),
layout = list(title='Dash Data Visualization')
)
)
)
)
)
app$run_server(use_viewer = TRUE)
When I run the app, the R terminal shows:
Fire started at 127.0.0.1:8050
start: 127.0.0.1:8050
request: 127.0.0.1 - ID_127.0.0.1 [01/Apr/2021:13:35:51 +0000] "GET /?viewer_pane=1&capabilities=1&host=https%3A%2F%2Fxyz.ac.uk HTTP/1.1" 200 1796 "https://xyz.ac.uk/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36"
And on the Rstudio view pane, it just shows Loading... and not changing