When I used the print option in R to see the output of my syntax I do not see the headers or column names. Is there a way to see the headers in the print.
Also as most of the datasets we work today have huge number of observations but when I print it only shows a portion of the output. Is there a limitation to the number of rows that can be printed.
I am not totally clear on the header question but would something like ?head help here? It will show a certain number of rows of data with headers included . I think the default is 6 rows but if all you want to do is check names and a bit of data something like head(xx, 2) works nicely.
> -----Original Message-----
> From: [hidden email] > Sent: Wed, 27 May 2015 04:32:30 -0700 (PDT)
> To: [hidden email] > Subject: [R] Printing with Header & no of observations
> HI Team,
> A quick question.
> When I used the print option in R to see the output of my syntax I do not
> see the headers or column names. Is there a way to see the headers in the
> Also as most of the datasets we work today have huge number of
> but when I print it only shows a portion of the output. Is there a
> limitation to the number of rows that can be printed.
> Kindly suggest. Thanks, Shivi
> View this message in context:
> http://r.789695.n4.nabble.com/Printing-with-Header-no-of-observations-tp4707747.html > Sent from the R help mailing list archive at Nabble.com.
> [hidden email] mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!