title: Filtering a Reactive table in Shiny
body: <p>In my data frame &quot;df&quot; I have a column with the name &quot;currentABC&quot; that has several unique values of type character. In my shiny model, I want to make it to where in the sidebar panel one of these unique values can be selected, and in my reactive table only the rows where &quot;currentABC&quot; match the input value selected are displayed in the table. Below is not all of my code, but a snippet that I think is where the problem lies. Currently I am getting an error message that says</p>
  <p>&quot;error in evaluating the argument 'condition' in selecting a method for function 'filter': error in evaluating the argument 'x' in selecting a method for function '%in%': object 'currentVOI' not found&quot;</p>
  <p>Thanks!</p>
  <pre><code>ui &lt;- fluidPage(
    titlePanel(&quot;title&quot;),
    sidebarLayout(
      sidebarPanel(
        selectInput(inputId = &quot;CurrentABC&quot;,  
        label = &quot;1. Select ABC&quot;,  
        choices = unique(df$currentVOI), selected = &quot;123&quot;), 
  
  
  
  
  
   server &lt;- function(input, output, session) { 
  
  table &lt;- reactive({
    df %&gt;% filter(currentABC == input$CurrentABC)
  })
                                     
                                     
  output$mytable &lt;- renderTable({
    table()
  })
   
                                     
  } 
  </code></pre>