How to print (to paper) a nicely-formatted data frame

后端 未结 10 2038
深忆病人
深忆病人 2020-12-07 08:41

I\'d like to print nicely-formatted data frames to paper, ideally from within a script. (I am trying to collect data using an instrument and automatically process and print

10条回答
  •  南方客
    南方客 (楼主)
    2020-12-07 09:02

    I came across this question when looking to do something similar. I found mention of the sink command elsewhere on stackoverflow that was useful in this context:

    sink('myfile.txt')
    print(mytable,right=F)
    sink()
    

提交回复
热议问题