# Not able to publish my Plotly code on shinyapps.io

**URL:** <https://community.plotly.com/t/not-able-to-publish-my-plotly-code-on-shinyapps-io/6545>\
**Category:** Plotly R\
**Created:** [October 28, 2017, 10:10am UTC](https://community.plotly.com/t/not-able-to-publish-my-plotly-code-on-shinyapps-io/6545 "2017-10-28T10:10:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vineet](https://avatars.discourse-cdn.com/v4/letter/v/8e8cbc/32.png) [@Vineet](https://community.plotly.com/u/Vineet)\
**Post date:** [October 28, 2017, 10:10am UTC](https://community.plotly.com/t/not-able-to-publish-my-plotly-code-on-shinyapps-io/6545/1 "2017-10-28T10:10:02Z")

</div>

Hi All,  
As the part of coursera course, I have created a shiny app which is finally rendering plolty graph and want to publish on [shinyapps.io](http://shinyapps.io) but its giving error

```
Warning: Error in plotlyOutput: could not find function "plotlyOutput"
Stack trace (innermost first):
    53: tag
    52: tags$div
    51: div
    50: mainPanel
    49: sidebarLayout
    48: tag
    47: tags$div
    46: div
    45: tagList
    44: attachDependencies
    43: bootstrapPage
    42: fluidPage
    41: shinyUI
     1: runApp
Error : could not find function "plotlyOutput"

```

Can someone please help me in this regard, also let me know if I can use plotly here or I need to switch to ggplot.

Thanks

---

<div class="post-metadata">

**Author:** ![allanvc](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@allanvc](https://community.plotly.com/u/allanvc)\
**Post date:** [June 25, 2018, 3:26pm UTC](https://community.plotly.com/t/not-able-to-publish-my-plotly-code-on-shinyapps-io/6545/2 "2018-06-25T15:26:32Z")

</div>

Hi! Please, see my answer at [https://stackoverflow.com/questions/38635149/shiny-server-r-failed-to-uploaded-libraries](https://stackoverflow.com/questions/38635149/shiny-server-r-failed-to-uploaded-libraries).
