Error: could not find function "shinyApp"

閲覧: 1,370 回
最初の未読メッセージにスキップ

Ali Hadjihoseini

未読、
2017/06/21 9:50:532017/06/21
To: Shiny - Web Framework for R
I have tried to run the simple template, as it is explained in tutorial (https://shiny.rstudio.com/tutorial/) but is is not successful ! I have the following error :

library(shiny)
ui <- fluidPage()
server <- function(input,output){}
shinyApp(ui=ui,server=server)
 
Error: could not find function "shinyApp"

Even trying to get help : 

?shinyApp

the answer is :

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

Could somebody help me please ? 

Dean Attali

未読、
2017/06/21 17:50:012017/06/21
To: Shiny - Web Framework for R
Try replacing the last line with

shiny::shinyApp(ui=ui,server=server)

If you then get a different error, about ui or server not being found, then make sure you run each of the lines starting at the top

Saeed Abdolahi

未読、
2018/06/19 2:41:272018/06/19
To: Shiny - Web Framework for R
Hi Ali,
firstly try in with
> shiny:: shinyApp(....

as Dean suggests, if errors changed you need to install dependency packages like: "httpuv" and "xtable".
全員に返信
投稿者に返信
転送
新着メール 0 件