I am using below code in server.R to display the text in the main panel. This is working exactly the way it should work.
server.R
output$text1 <- rend
If only want to change a certain part of the returning string, one can use htmlOutput instead of textOutput
htmlOutput
textOutput
On server side just return
output$text1 <- renderText({ paste("hello input is","", input$n, "") })
In this way, Shiny UI will perform HTML.