将闪亮应用程序嵌入Jupyter笔记本中

13

有没有办法将shiny应用程序嵌入到jupyter笔记本中? 将ui.R和server.R文件上传到笔记本所在的同一文件夹后,我尝试了这段代码:

Is there anyway to embed a shiny app into a jupyter notebook? After uploadind the ui.R and server.R files to the same folder where the notebook is, I have tried this code:
%R library(shiny)
%R runApp()

该应用程序能够正确执行,但会打开一个新的窗口。我希望将其嵌入笔记本中。

非常感谢!!


也许您可以使用一个 iframe? - Pork Chop
这并不像你想象的那么简单。 - cel
1个回答

2
Shiny和Jupyter的人们正在考虑这件事(2016年6月)。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接