R: How to write out a data.frame so that I can paste it into SO for others to read?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-04-13T22:16:00Z Indexed on 2010/04/13 22:23 UTC
Read the original article Hit count: 183

Filed under:
|

I have a large data.frame displaying some weird properties when plotted. I'd like to ask a question about it on Stackoverflow, to do that I'd like to write the data.frame out in a form that I can paste it into SO and somebody else can easily run it and have it back into a data.frame object again. Is there an easy way to accomplish this? Also, if it is really long, should I use paste bin instead of directly paste it here?

© Stack Overflow or respective owner

Related posts about r

    Related posts about data.frame