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?
I have a large data.frame displaying some weird properties when plotted. I’d like to
Share
To answer your question directly, the easiest thing to do would be to use
summary()orhead()to display information about the data frame. I would suggest not pasting the actual data into a SO question, but rather providing a public link to the data for the community to play with. If you have not seen it, the box.net service provides a lot of free space for online collaboration.Finally, if the data is exhibiting odd behavior when plotted, why not provide the code you are using to do the plots and some examples plots themselves.