Dependencies in functions. Two functions working individually but when combined in code are showing error in Shiny
问题 I have 2 separate codes which work individually (Code A and Code B). When I club these codes to create single app, it shows error when both inputs are updated. Not sure where the error is? Code A library(shiny) dfaa <- data.frame(A = c( 1L, 4L, 0L, 1L), B = c("3","*","*","2"), C = c("4","5","2","*"), D = c("*","9","*","4"),stringsAsFactors = F) dfbb <- data.frame(variable = c("A","B","C","D"), Value = c( 2L, 1L, 9L, 0L),stringsAsFactors = F) dfbb["Drop_Variable"] <- "No" ui <- fluidPage