How do I tell summary to not wrap columns?

若如初见. 提交于 2019-12-02 07:24:38

The options() function gives you a method of creating side-effects in the R console environment:

 names( options() )
 options(width=120) ; cat("Response Times"); summary(responseCompare)

The print method will then only add "\n" when it reaches a "virtual end of page" at 120 total characters. It calculates the width of columns and only prints a batch of columns at a time.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!