matthieugomez / statar

R package for data manipulation — inspired by Stata's API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrap tables in statascii

gvelasq opened this issue · comments

We should reimplement an updated wrap_tbl() function to wrap tables when the table width is longer than the console width. This should optimally repeat the first column of output when wrapping is necessary.

Example code to reproduce the issue:
library(statar)
tab(mtcars, mpg, cyl, disp, hp, drat, wt, qsec, vs, am, gear, carb)

I prefer to simply return a warning message in this case. 09dfd6e