How to delete element from reactiveValues in shiny?
<p>How to delete element from reactiveValues()</p>

<p>For example, when I run the code:</p>

<pre><code>library(shiny)

runApp(list(
  ui=tableOutput("table1"),
  server=function(input, output, session) {
    values &lt;- reactiveValues(val1 = 1, val2 =2, val3 = 3)
    values$val1 &lt;- NULL

    output$table1 &lt;- renderPrint(reactiveValuesToList( values) )
  }))
</code></pre>

<p>The output is:</p>

<blockquote>
  <p>$val1 NULL $val2 [1] 2 $val3 [1] 3</p>
</blockquote>

<p>Instead of:</p>

<blockquote>
  <p>$val2 [1] 2 $val3 [1] 3</p>
</blockquote>

<p>Thank you!</p>