Kurapati, Ravichandra (Ravichandra)
2008-Oct-31 08:44 UTC
[R] how to retrieve some records from a dataframe
Hi ,
Dataframe Df contains more than 30 no of records.but I want only
first 30 rows of data.
How can I retrieve it.
Thanks
K.Ravichandra
[[alternative HTML version deleted]]
Henrique Dallazuanna
2008-Oct-31 10:39 UTC
[R] how to retrieve some records from a dataframe
See head: head(Df, n = 30) On Fri, Oct 31, 2008 at 6:44 AM, Kurapati, Ravichandra (Ravichandra) < ravichandra.kurapati@alcatel-lucent.com> wrote:> Hi , > > > > Dataframe Df contains more than 30 no of records.but I want only > first 30 rows of data. > > > > How can I retrieve it. > > > > Thanks > > K.Ravichandra > > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. >-- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[alternative HTML version deleted]]
Df[1:30,]
--- On Fri, 31/10/08, Kurapati, Ravichandra (Ravichandra)
<ravichandra.kurapati@alcatel-lucent.com> wrote:
From: Kurapati, Ravichandra (Ravichandra)
<ravichandra.kurapati@alcatel-lucent.com>
Subject: [R] how to retrieve some records from a dataframe
To: r-help@r-project.org
Date: Friday, 31 October, 2008, 2:14 PM
Hi ,
Dataframe Df contains more than 30 no of records.but I want only
first 30 rows of data.
How can I retrieve it.
Thanks
K.Ravichandra
[[alternative HTML version deleted]]
______________________________________________
R-help@r-project.org mailing list
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.
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
[[alternative HTML version deleted]]