title: Update multiple values of a dataframe using reactivevalues
body: <p>I would like to update multiple values of my dataframe using reactivevalues. But my code works when I specify only value change. Below is my code,</p>
  <pre><code>values &lt;- reactiveValues(df_data = NULL)
  
  ipldata &lt;- reactive({
          myfiles &lt;- input$iplfile
          data &lt;- read_excel(myfiles$datapath, 1, col_names = FALSE)
          data &lt;- data.frame(data)
          data &lt;- data[grep(&quot;esd&quot;, as.character(data[,1])),]
          data &lt;- subset(data, data[,1]== input$modeltype)
          endrow &lt;- grep(pattern = &quot;Model/Extraction boundary information&quot;, as.character(data[,2]))
          data &lt;- data[grep(pattern = 'Parameter|Instance Parameter', as.character(data[,2]))[1]:endrow,]
          data[is.na(data)]&lt;- &quot; &quot;
          colnames(data) &lt;- data[1,]
          data &lt;- data[-1,-1]
          rownames(data) &lt;- 1:nrow(data)
          last &lt;- nrow(data)
          data &lt;- data[-last,]
          data[!(is.na(data[,1])|data[,1]==&quot; &quot;),]
          values$df_data &lt;- data
        })
  
    observeEvent(input$modeltype, {
      values$df_data &lt;- ipldata()
      print(values$df_data)
    })
  
    
    #
    
    observeEvent(input$ChangeValues, {
    output$newvalue1 &lt;- renderUI({
      data &lt;- ipldata()
      textInput(&quot;newvalue1&quot;, paste0('New ',data[1,1]),data[1,5],'15%')
    })
  
    output$newvalue2 &lt;- renderUI({
      data &lt;- ipldata()
      textInput(paste0(&quot;newvalue2&quot;,data[2,1]), paste0('New ',data[2,1]),data[2,5],'15%')
    })
  
    output$newvalue3 &lt;- renderUI({
      data &lt;- ipldata()
      textInput(paste0(&quot;newvalue3&quot;,data[3,1]), paste0('New ',data[3,1]),data[3,5],'15%')
    })
  
    output$newvalue4 &lt;- renderUI({
      data &lt;- ipldata()
      textInput(paste0(&quot;newvalue4&quot;,data[4,1]), paste0('New ',data[4,1]),data[4,5],'15%')
    })
    
    })
    
    observeEvent(input$save, {
      isolate({
        
        values$df_data[1,5] &lt;- input$newvalue1
        values$df_data[2,5] &lt;- input$newvalue2
        # values$df_data[3,5] &lt;- input$newvalue3
        # values$df_data[4,5] &lt;- input$newvalue4
      
        })
    })
  
  output$IPLTable &lt;- renderTable(
                        values$df_data
                       #changedipldf
                       )
  </code></pre>
  <p>For simplicity I'm not attaching my ui code. In my observeevent with save button, I'm able to update when I use,</p>
  <p><strong>Working code</strong></p>
  <pre><code>observeEvent(input$save, {
          isolate({
            
            values$df_data[1,5] &lt;- input$newvalue1
            
          
            })
        })
  </code></pre>
  <p><strong>Non-working code</strong></p>
  <pre><code>observeEvent(input$save, {
      isolate({
        
        values$df_data[1,5] &lt;- input$newvalue1
        values$df_data[2,5] &lt;- input$newvalue2
        # values$df_data[3,5] &lt;- input$newvalue3
        # values$df_data[4,5] &lt;- input$newvalue4
      
        })
    })
  </code></pre>
  <p>The difference between the working observe event and non-working event is being the no of dataframe values that I'm trying to update before I click the save button. Can someone explain if reactivevalues are supposed to work for multiple updates in a dataframe or what am I doing wrong with my current code</p>