R how to not display the number into brackets of the row count in output -
i'm trying (dynamic) r output in website. instance, simple count of values in dataframe.
> data(infert) > length(infert$age) [1] 248
this "[1]" interferes reading :
we have [1] 248 entries in our database
is somehow possible remove "[1]" line count in front of shown result, when output unique value?
thanks ananda's comment below!
cat(length(infert$age))
does trick !
Comments
Post a Comment