【问题标题】:Shiny Server and R: How can I start the download of a file through the URL?Shiny Server 和 R:如何通过 URL 开始下载文件?
【发布时间】:2015-04-09 14:51:43
【问题描述】:

我想在几个 URL 上使用 linux wget 命令。在 Shiny 中,右键单击下载按钮或链接会提供以下信息:

../session/../download/downloadData?w=

如果页面打开,这可以与 linux wget 命令一起使用来下载文件。

是否可以在不知道会话数据的情况下使用 URL 链接开始 Shiny 下载?

我的目标是做这样的事情:

wget "http://home:3838/../#apples=3" -O /home/../apples.csv

wget "http://home:3838/../#pears=3" -O /home/../pears.csv

等等。

我已经知道如何添加参数,但我不知道如何启动下载。

【问题讨论】:

  • 我一直在努力寻找答案。如果你找到了请分享。如果我能找到它,我会回来的

标签: linux r wget shiny-server


【解决方案1】:

有关您的解决方案,请参阅此链接:http://shiny.rstudio.com/gallery/download-file.html

【讨论】:

  • 这仍然是特定于会话的,因此不适用于 wget
猜你喜欢
  • 1970-01-01
  • 2019-02-07
  • 1970-01-01
  • 2016-01-29
  • 2020-01-06
  • 1970-01-01
  • 2016-04-11
  • 2016-10-13
  • 2013-11-30
相关资源
最近更新 更多