plotly / plotly/plotly.R

can we support export()-ing to a remote orca server?

未关闭
#1,905 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
R
星标
2.7k
派生
641
PR 合并指标
30 天内没有已合并 PR

描述

It looks like the orca_serve() function starts up a server and returns a method that I can use to export a graph to the server.

What if I already have a server running on another machine? I would like to be able to export a graph to that already running server without starting a new server.

The reason I ask for this feature: I want to export my graph inside of a Shiny app that is deployed in a containerized environment. Both my app and orca have really big dependency trees and I have spent a lot of time (so far unsuccessfully) trying to build a Docker image that can support both my app and orca.

If this feature existed, I would not need to create a new docker image. I could use the off-the-shelf orca container. I could use docker-compose to start up both my app and the orca server, and then in my app I could submit to the running orca server.

Is this something you would be interested in supporting? I imagine orca_serve() with a couple extra arguments, like hostname="localhost", start_server=TRUE which I could override to point to an already-running server on another host.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

orca_serve() 函数及其返回的导出方法开始,然后跟踪当前服务器的启动和联系过程。围绕将图导出到已经运行的远程 Orca 服务器来定义这项更改,而不启动另一个服务器,同时包括此处描述的 Shiny 和 Docker Compose 使用场景。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker, r
领域
api, data-visualization
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
32/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。