r - Shiny 无法在 RStudio 的浏览器中打开

标签 r shiny rstudio

我创建了一个 ui.Rserver.R 文件,用于对 Shiny 进行非常基本的测试。

当我从 RStudio 执行 runApp() 时,另一个 RStudio 窗口 打开并显示 Shiny front page

当我在新窗口中点击 在浏览器中打开 选项卡时,它只会转到 Chrome 浏览器。

我尝试与一些专家讨论,但他们认为我的网络存在代理问题。

最佳答案

RStudio 中有一个下拉菜单,就在运行应用程序按钮旁边,将其更改为运行外部

enter image description here

或者我们可以设置launch.browser:

runApp(launch.browser = TRUE)

launch.browser If true, the system’s default web browser will be launched automatically after the app is started. Defaults to true in interactive sessions only. This value of this parameter can also be a function to call with the application’s URL.

关于r - Shiny 无法在 RStudio 的浏览器中打开,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36031193/

相关文章:

c++ - Rcpp Armadillo : RStudio says "exp" is ambiguous

R AND 运算符到新列

r - 如何在安装了防火墙的情况下连接到shinyapps?

替换 sf 中列表中的几何图形

r - 加载 Shiny 的应用程序时更改光标

r - 无法在R版本3.1.1中安装tidyr

r - 如何更改主面板中每个 tabPanel 的 sidebarPanel

html - [ Shiny ] : Add link to another tabPanel in another tabPanel

r - 使用 R 在数据框中逐行取消列出(展平列表)

r - 如何指定R CMD exec目录?