我正在尝试运行闪亮的教程6应用程序,从闪亮-Rstudio网站。网址是:
http://shiny.rstudio.com/tutorial/lesson6/
当我试图运行这个应用程序时,我得到了以下错误:
Error : Failed to download file. Error message:
cannot open URL 'https://research.stlouisfed.org/fred2/series/CPIAUCNS/downloaddata/CPIAUCNS.csv'我是新来的闪亮和不明白这个错误。
发布于 2016-02-12 12:50:50
在堆栈溢出的其他线程中找到答案:
Quantmod Error 'cannot open URL'
用于运行第6课应用程序的代码是:
library(shiny)
options(download.file.method="libcurl")#This fixed the error
runApp("stockVis")发布于 2016-02-12 13:18:00
确保您已将server.R、ui.R和helpers.r保存在名为"stockVis“的文件夹中。如果可以,您可以尝试指定应用程序的路径,如下所示:
library(quantmod)
runApp("D:/mydocuments/stockVis")https://stackoverflow.com/questions/35362964
复制相似问题