title: How do I format columns of a datatable using renderDataTable() in the DT package?
body: <p>I can format a column of a datatable object like so</p>
  
  <pre><code>library(DT)
  datatable(data.frame(Amount=c(1.00, 2.20, 4.15))) %&gt;% formatCurrency(columns='Amount')
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/qtqnkm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qtqnkm.png" alt="enter image description here"></a></p>
  
  <p>But how can I do this using <code>renderDataTable()</code>?</p>
  
  <pre><code>library(shiny)
  library(DT)
  
  ui &lt;- shinyUI(fluidPage(
    DT::dataTableOutput('dtoMyTable')
  ))
  
  server &lt;- shinyServer(function(input, output){
    output$dtoMyTable &lt;- DT::renderDataTable({
      data.frame(Amount=c(1.00, 2.20, 4.15))
    })
  })
  
  shinyApp(ui = ui, server = server)
  </code></pre>