I\'m trying to output a plot or a print based on whether the string in the text box: if(grepl("plot", input$code) == TRUE)
if(grepl("plot", input$code) == TRUE)
The code and the app