I am typing the following on the command prompt:>variab = read.csv(file.choose(), header=T)>variabIt lists 900,000 ( this is the total number of observations in "variab" ) minus 797124 observations and prompts the following message [ reached getOption("max.print") -- omitted 797124 entries ]] Is there a way to see the entire set of data, ie all of 900,000 obs, and how to then save this "variab" Thanks Saurav -- Dr.Saurav Pathak PhD, Univ.of.Florida Mechanical Engineering Doctoral Student Innovation and Entrepreneurship Imperial College Business School s.pathak08@imperial.ac.uk 0044-7795321121 [[alternative HTML version deleted]]
Change the value with 'options': max.print: integer, defaulting to 99999. print or show methods can make use of this option, to limit the amount of information that is printed, to something in the order of (and typically slightly less than) max.print entries. ?Why would you want all 900,000 lines on the console? You can save with object with 'save'. You might try "View" to see all the values. On Wed, Jul 1, 2009 at 8:04 AM, saurav pathak <pathak.saurav at gmail.com> wrote:> > I am typing the following on the command prompt: > > >variab = read.csv(file.choose(), header=T) > > >variab > > It lists 900,000 ( this is the total number of observations in "variab" ) > minus 797124 observations and prompts the following message > > [ reached getOption("max.print") -- omitted 797124 entries ]] > > Is there a way to see the entire set of data, ie all of 900,000 obs, and how > to then save this "variab" > > Thanks > Saurav > > -- > Dr.Saurav Pathak > PhD, Univ.of.Florida > Mechanical Engineering > Doctoral Student > Innovation and Entrepreneurship > Imperial College Business School > s.pathak08 at imperial.ac.uk > 0044-7795321121 > > ? ? ? ?[[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.-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve?
On 01/07/2009 8:04 AM, saurav pathak wrote:> I am typing the following on the command prompt: > >> variab = read.csv(file.choose(), header=T) > >> variab > > It lists 900,000 ( this is the total number of observations in "variab" ) > minus 797124 observations and prompts the following message > > [ reached getOption("max.print") -- omitted 797124 entries ]] > > Is there a way to see the entire set of data, ie all of 900,000 obs,You can set max.print to a larger value, e.g. options(max.print=Inf), and then the whole thing will print. It won't be very useful to do that at the console, because most consoles don't have an infinite buffer, but if you're redirecting output to a file, it might be reasonable. > and how > to then save this "variab" I don't understand this question. Nothing about variab was lost, it just wasn't printed for you. You can save it just like any other variable, using save(variab, file=...) to save in binary format. Duncan Murdoch> > Thanks > Saurav >