How to add ellipsis

I would like to use R to produce below data table
Do you know how to add ellipsis for each data? Thanks very much.

Can you explain why you need this? It is an unusual data table layout for R.

We also probably need some sample data. Please have a look at:

BTW technically those dots are not an ellipsis. A ellipsis only has three dots … * UTF - 8 Encoding : 0xE2 0x80 0xA6*

stringr library has a str_pad function

paste0(str_pad(c("my 1st","second","3rd"),width = 8,pad = "."), collapse = "")

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.