This is what I have coded so far: I am trying for the reactive function to return the two values returned by the extractParams() function in functionName(). It does not work. I do not get the textOutput displayed. What is the right way of doing this?
ui <- fluidPage(
textOutput("list(value1, value2")
)
functonName <- function(sentvairble){
c(outL, numericL) %<-% extractParams(sentVariable) # the function that responds to this function call returns a list "list(outL, numericsL)
list(outL = outL, numericsL = numericsL)
}
extractParams <- function(sentVariable){
outL <- 1
numericsL <- 2
return(list(outL, numericsL))
}
server <- function(input, output){
output$checkedInput <- reactive({
output$list(value1, value2) %<-% renderText({
list(result1, result2) %<-% functionName(inFileName)
return(list(result1$outL, result2$numericsL))
})
}