Hello everyone, I was reading a table into R, and when trying to retrieve it the following message appeared: [ reached getOption("max.print") -- omitted 469376 rows ] Does this mean that R left out 469376 rows? Or R is taking those 469376 rows as well and the limitation is only for printing purposes? Thanks in advance for any help, Best regards, Paul [[alternative HTML version deleted]]
On Wed, 6 Mar 2013, Paul Bernal wrote:> I was reading a table into R, and when trying to retrieve it the following > message appeared: > > [ reached getOption("max.print") -- omitted 469376 rows ] > > Does this mean that R left out 469376 rows? Or R is taking those 469376 > rows as well and the limitation is only for printing purposes?Paul, I see this message when I look at the contents of a data frame that is very large. The data are all there but there is a limit to the number of rows that will be 'printed' to the display. If you use the str() function you'll see the number of rows as well as descriptions of the column contents. HTH, Rich
On 06/03/2013 3:58 PM, Paul Bernal wrote:> Hello everyone, > > I was reading a table into R, and when trying to retrieve it the following > message appeared: > > [ reached getOption("max.print") -- omitted 469376 rows ] > > Does this mean that R left out 469376 rows? Or R is taking those 469376 > rows as well and the limitation is only for printing purposes?Only for printing. You can find out what the object looks like internally by str(x) or similar function. Duncan Murdoch
just a limitation on the printing of the data to the console. Change the 'max.print' option if you want more lines output to the console. On Wed, Mar 6, 2013 at 3:58 PM, Paul Bernal <paulbernal07@gmail.com> wrote:> Hello everyone, > > I was reading a table into R, and when trying to retrieve it the following > message appeared: > > [ reached getOption("max.print") -- omitted 469376 rows ] > > Does this mean that R left out 469376 rows? Or R is taking those 469376 > rows as well and the limitation is only for printing purposes? > > Thanks in advance for any help, > > Best regards, > > Paul > > [[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. >-- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. [[alternative HTML version deleted]]
Since nobody else has mentioned it: if you are seeing that message when you are reading data in, then you probably failed to assign the data to an R object. mydata <- read.table("somefile") # correct read.table("somefile") # will simply print your data to the console, not save it I'm not entirely sure what you meant by "retrieve" so maybe you already knew this. You can use e.g. dim(mydata) to find out whether it's the size you expect. Sarah On Wed, Mar 6, 2013 at 3:58 PM, Paul Bernal <paulbernal07 at gmail.com> wrote:> Hello everyone, > > I was reading a table into R, and when trying to retrieve it the following > message appeared: > > [ reached getOption("max.print") -- omitted 469376 rows ] > > Does this mean that R left out 469376 rows? Or R is taking those 469376 > rows as well and the limitation is only for printing purposes? > > Thanks in advance for any help, > > Best regards, > > Paul-- Sarah Goslee http://www.functionaldiversity.org