I have a list from 1 to 100, with common difference of 1.
So, my slider have a range from min=1 and max=100 too.
And the range I selected will store in the selected_value (Global Environment). 
And here is my code :
library(shiny)
ui <- fluidPage(
  fluidRow(
    column(4,
           sliderInput("slider","Slider Range", 
                       min = 0, max = 100, value = c(40, 60)))),
  fluidRow(
    column(4, verbatimTextOutput("range"))))
server <- function(input, output) {
  output$range <- renderPrint({input$slider})
  observe(selected_value <<- input$slider)}
shinyApp(ui,server)
My problem is let's say I selected the range of 33 to 40 in the slider, but the selected_value 
will only show 33 and 40 only.
But what I want is it shows all the observations : 33, 34, 35, 36, 37, 38, 39, 40.
What should I add so that I can have the desired outcome? Will appreciate very much if anyone could give me a helping hand...
 
    