Friday, 24 April 2015

Error in any_na(as_list(RHS)) : object 'CanyNA' not found

I'm learning R and playing with the UI and Server components for Shiny.

A simple example below errors out:

  func = function(input, output){
    output$Order<-renderDataTable(
      if(is.null(input$Account)|input$Account=="")
      {
        Order  
      }else{   
        Order[AccountNumber==input$Account]
      }
    )

The error is

Error in any_na(as_list(RHS)) : object 'CanyNA' not found


This only started to happen only after I had updated the data.table package.
The resolved this by reinstalling  this package.

install.packages("data.table")

No comments: