I am using paste() function to combine text with numbers and statistics using the paste() function.
However, when I knit the PDF in RMarkdown a [1]
appears before this statement. Is there an option or different function that I can use to prevent this?
I am combined many lines so, having three or four [1]s can be distracting.
Tried using cat()
and noquote()
message<-paste("We examined",nrow(patients))
Actual:
[1] We examined 100 patients
Desired:
We examined 100 patients