Closed peranti closed 7 years ago
How to fit the table output according to the page width when using printr table function?
printr
table(sample(stringi::stri_rand_strings(20, 3), 200, replace = TRUE))
The output of the above code exceeds the page width. How to print the table into multiple lines if the width is exceeding the page width?
options(width = 10)
Closing because it has been asked on SO: https://stackoverflow.com/q/45522678/559676
How to fit the table output according to the page width when using
printr
table function?The output of the above code exceeds the page width. How to print the table into multiple lines if the width is exceeding the page width?
options(width = 10)
did not help either.