Ruuning应用程序无需将库(DevTools)键入控制台rstudios即可

发布于 2025-02-13 14:03:19 字数 346 浏览 2 评论 0原文

我正在运行一个由我的前同事编写的app.r脚本,他在很长一段时间之前就离开了公司。

为了使我打开该应用程序,我将不得不将这3个命令键入RSTUDIOS控制台,然后才能使用runapp/shiny :: runapp()函数。

  1. library(devtools)
  2. document()
  3. 选项(shiny.launch.browser = .rs.invokeshinyWindowExternal)

我想询问是否有任何代码可以添加到同事的应用中

。 下,我必须键入删除需要进行的删除。

在使用runapp/shiny:runapp()函数的情况

I am running a app.r script written by one of my ex colleague and he left the company quite a while back.

In order for me to open the app , I will have to type these 3 commands into Rstudios console before I can use the runApp/shiny::runApp() function.

  1. library(devtools)
  2. document()
  3. options(shiny.launch.browser = .rs.invokeShinyWindowExternal)

I would like to ask if there is any code that I could add into my colleague's app.R

I am trying to reduce the number of console code I have to type remove the need to do so before i use the runApp/shiny:runApp() function

Thanks in Advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文