Hi, I have a very large dataset, and have run a simper test on it. However, the output is so large that I cannot see the first sets of results in the console. How can I view them? I have tried saving to text, but it only saves what's in the console. Or is there a way to report the first X number of results from each contrasting test? Or summarise each test result individually? Thanks! -- View this message in context: http://r.789695.n4.nabble.com/All-results-not-showing-in-console-very-large-dataset-tp4711150.html Sent from the R help mailing list archive at Nabble.com.
John Kane
2015-Aug-16 12:51 UTC
[R] All results not showing in console (very large dataset)
Write the results into an object and use head()? Quick example dat1 <- data.frame(aa = sample(x, 500, replace = TRUE), bb = sample(x, 500, replace = TRUE), cc = sample(x, 500, replace = TRUE), dd =sample(x, 500, replace = TRUE) ) head(dat1) see ?head for more details John Kane Kingston ON Canada> -----Original Message----- > From: hazel_knipe at hotmail.co.uk > Sent: Sun, 16 Aug 2015 02:10:51 -0700 (PDT) > To: r-help at r-project.org > Subject: [R] All results not showing in console (very large dataset) > > Hi, > > I have a very large dataset, and have run a simper test on it. However, > the > output is so large that I cannot see the first sets of results in the > console. How can I view them? I have tried saving to text, but it only > saves > what's in the console. > > Or is there a way to report the first X number of results from each > contrasting test? Or summarise each test result individually? > > Thanks! > > > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/All-results-not-showing-in-console-very-large-dataset-tp4711150.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org 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 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Jim Lemon
2015-Aug-17 08:45 UTC
[R] All results not showing in console (very large dataset)
Hi Aureus,
I think you have cut and pasted the text in the console window when
you say "saving to text". One way to get the entire output of your
test is:
sink('"simper_test.txt")
# run your test code here
sink()
The output will be in the file "simper_test.txt"
Jim
On Sun, Aug 16, 2015 at 7:10 PM, Aureus <hazel_knipe at hotmail.co.uk>
wrote:> Hi,
>
> I have a very large dataset, and have run a simper test on it. However, the
> output is so large that I cannot see the first sets of results in the
> console. How can I view them? I have tried saving to text, but it only
saves
> what's in the console.
>
> Or is there a way to report the first X number of results from each
> contrasting test? Or summarise each test result individually?
>
> Thanks!
>
>
>
>
>
> --
> View this message in context:
http://r.789695.n4.nabble.com/All-results-not-showing-in-console-very-large-dataset-tp4711150.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org 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.