简体   繁体   English

无法发布 shiny 应用程序

[英]Unable to publish shiny application

I have build a shiny application which works completely fine when I am running it through RStudio.我已经构建了一个 shiny 应用程序,当我通过 RStudio 运行它时,它工作得很好。 But when I am trying to publish my R application through Shiny it is getting as error.但是,当我尝试通过 Shiny 发布我的 R 应用程序时,它会出现错误。 This is the message below:这是下面的消息:


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

It looks as if the file Cleaned_Prop_Data.csv is available on your local machine but not wherever you are publishing your app.看起来文件 Cleaned_Prop_Data.csv 在您的本地计算机上可用,但在您发布应用程序的任何地方都没有。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM