Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

shinyApp command in shiny package?

I have installed shiny in RStudio running R 2.15.3. I load the package by library(shiny) But when I try to use shinyApp command I'll get the following

library(shiny)
ui <- fluidPage()
server <- function(input,output){}
shinyApp(ui=ui,server=server)

Error: could not find function "shinyApp"

And even when I'm trying to use R help by :

?shinyApp

the answer is :

No documentation for ‘shinyApp’ in specified packages and libraries:
you could try ‘??shinyApp’

And it is very disappointing because this command is one of the essential commands that you need all time !

I have to mention that the sample code I have tried to compile, is from official tutorial by shiny (shiny.rstudio.com/tutorial) ! So basically it should work.

Can somebody help me on this please !

Answer*

Cancel