闪亮无法在 RStudio 的浏览器中打开
shiny not opening in browser from RStudio
我创建了一个 ui.R
和 server.R
文件用于 Shiny
.
的非常基本的测试
当我从 RStudio
执行 runApp()
时,另一个 RStudio window
使用 Shiny front page
打开。
当我点击那个新 window 中的 open in browser
选项卡时,它只会转到 Chrome
浏览器。
我尝试与一些专家讨论,但他们认为我的网络存在代理问题。
RStudio 中有一个下拉菜单,就在 运行 App 按钮旁边,将其更改为 运行 External.
或者我们可以设置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.
我创建了一个 ui.R
和 server.R
文件用于 Shiny
.
当我从 RStudio
执行 runApp()
时,另一个 RStudio window
使用 Shiny front page
打开。
当我点击那个新 window 中的 open in browser
选项卡时,它只会转到 Chrome
浏览器。
我尝试与一些专家讨论,但他们认为我的网络存在代理问题。
RStudio 中有一个下拉菜单,就在 运行 App 按钮旁边,将其更改为 运行 External.
或者我们可以设置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.