Dear all. I wanted to read in a 20,000 row X 60 column matrix (called "table") into R. i did this:>R >table <- read.table("table", header=TRUE) >tableit prints out the start of my table (~10000 rows by 7 columns) and then this error: [ reached getOption("max.print") -- omitted 5465 rows ]] There were 50 or more warnings (use warnings() to see the first 50) I have tried: options(max.print = Inf) and options(max.print = 9999999999999) but i still get the same error. I have seen many people on R help have this problem. However the solution of options(max.print = Inf) does not seem to work for me. Any ideas? Syb [[alternative HTML version deleted]]
Hey i have a similar size dataset and ran into the same problem, but i found this command works fine: options(max.print=1000000) to fix it? On Sat, Mar 10, 2012 at 4:35 PM, sybil kennelly <sybilkennelly@gmail.com>wrote:> Dear all. > > I wanted to read in a 20,000 row X 60 column matrix (called "table") into > R. > > i did this: > > >R > >table <- read.table("table", header=TRUE) > >table > > it prints out the start of my table (~10000 rows by 7 columns) and then > this error: > > > [ reached getOption("max.print") -- omitted 5465 rows ]] > There were 50 or more warnings (use warnings() to see the first 50) > > I have tried: > > options(max.print = Inf) > > and options(max.print = 9999999999999) > > but i still get the same error. I have seen many people on R help have > this problem. However the solution of options(max.print = Inf) does > not seem to work for me. > > > Any ideas? > > > Syb > > [[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. >[[alternative HTML version deleted]]
On 2012-03-10 08:35, sybil kennelly wrote:> Dear all. > > I wanted to read in a 20,000 row X 60 column matrix (called "table") into R. > > i did this: > >> R >> table<- read.table("table", header=TRUE) >> table > > it prints out the start of my table (~10000 rows by 7 columns) and then > this error: > > > [ reached getOption("max.print") -- omitted 5465 rows ]] > There were 50 or more warnings (use warnings() to see the first 50) > > I have tried: > > options(max.print = Inf) > > and options(max.print = 9999999999999) > > but i still get the same error. I have seen many people on R help have > this problem. However the solution of options(max.print = Inf) does > not seem to work for me. > > > Any ideas?Well, I don't know why you would want to do this to your eyeballs, but View() would seem to be your friend and this is probably somewhere in the archives. You can't set max.print to anything that can't be coerced to integer (see ?integer) and I think that setting it to Inf is no longer legal (if ever it was). [Perhaps options() should generate a warning.] Peter Ehlers> > > Syb > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.