Thanks for your reply. Yes, I have included install.packages() command. It's weird, because I fallowing a tutorial and I stacked with the first chapter. Please see my code for ui.R below:
install.packages("shiny")
library(shiny)
shinyUI(fluidPage(
titlePanel(title = "Hello Shiny"),
sidebarLayout(
sidebarPanel("This is sidebar panel"),
mainPanel("Main output is diplay here")
)
)
)
code for server.R below
library(shiny)
shinyServer(
function(input, output){
}
)