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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -