我已经建立了一个Shiny应用程序,当我通过RStudio运行它时,它完全正常工作。但当我试图通过Shiny发布我的R应用程序时,它得到的是错误。这就是下面的信息。
Attaching package: ‘shinydashboard’
The following object is masked from ‘package:graphics’:
box
Loading required package: ggplot2
Attaching package: ‘plotly’
The following object is masked from ‘package:ggplot2’:
last_plot
The following object is masked from ‘package:stats’:
filter
The following object is masked from ‘package:graphics’:
layout
Creating a generic function for ‘toJSON’ from package ‘jsonlite’ in package ‘googleVis’
Welcome to googleVis version 0.6.4
Please read Google's Terms of Use
before you start using the package:
https://developers.google.com/terms/
Note, the plot method of googleVis will by default use
the standard browser to display its output.
See the googleVis package vignettes for more details,
or visit https://github.com/mages/googleVis.
To suppress this message use:
suppressPackageStartupMessages(library(googleVis))
Warning in file(file, "rt") :
cannot open file 'Cleaned_Prop_Data.csv': No such file or directory
Error in value[[3L]](cond) : cannot open the connection
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted
看起来,如果文件Cleaned_Prop_Data.csv在您的本地机器上可用,但不是在您发布应用程序的任何地方。