Hi everyone, here is something I noticed when playing around with do.call: do.call(hist, list(x=1:10)) uses for the main title and also the axis labels "c(1,2,3,4,5,6,7,8,9,10)" So do.call(hist, list(x=1:10000)) nicely fills up your screen with numbers. Is there a way to get the deparsing from the list names to the labels right. Cheers, Florian PS: My sessionInfo: Version 2.3.1 Patched (2006-06-01 r38258) x86_64-unknown-linux-gnu attached base packages: [1] "grid" "tools" "methods" "stats" "graphics" "grDevices" [7] "utils" "datasets" "base" other attached packages: geneplotter annotate prada RColorBrewer Biobase "1.10.0" "1.10.0" "1.9.5" "0.2-3" "1.10.0" -- Florian Hahne Abt. Molekulare Genomanalyse (B050) Deutsches Krebsforschungszentrum (DKFZ) Im Neuenheimer Feld 580 D-69120 Heidelberg phone: 0049 6221 424764 fax: 0049 6221 423454 web: www.dkfz.de/mga
Try x <- 1:10 do.call(hist, list(quote(x))) or do.call(hist, list(x = 1:10, xlab = "x")) On 6/12/06, Florian Hahne <f.hahne at dkfz-heidelberg.de> wrote:> Hi everyone, > here is something I noticed when playing around with do.call: > do.call(hist, list(x=1:10)) > uses for the main title and also the axis labels "c(1,2,3,4,5,6,7,8,9,10)" > So > do.call(hist, list(x=1:10000)) > nicely fills up your screen with numbers. > Is there a way to get the deparsing from the list names to the labels > right. > Cheers, > Florian > > PS: My sessionInfo: > Version 2.3.1 Patched (2006-06-01 r38258) > x86_64-unknown-linux-gnu > > attached base packages: > [1] "grid" "tools" "methods" "stats" "graphics" "grDevices" > [7] "utils" "datasets" "base" > > other attached packages: > geneplotter annotate prada RColorBrewer Biobase > "1.10.0" "1.10.0" "1.9.5" "0.2-3" "1.10.0" > > -- > Florian Hahne > Abt. Molekulare Genomanalyse (B050) > Deutsches Krebsforschungszentrum (DKFZ) > Im Neuenheimer Feld 580 > D-69120 Heidelberg > phone: 0049 6221 424764 > fax: 0049 6221 423454 > web: www.dkfz.de/mga > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >
Thanks, that did the trick... Gabor Grothendieck wrote:> Try > > x <- 1:10 > do.call(hist, list(quote(x))) > > or > > do.call(hist, list(x = 1:10, xlab = "x")) > > > On 6/12/06, Florian Hahne <f.hahne at dkfz-heidelberg.de> wrote: >> Hi everyone, >> here is something I noticed when playing around with do.call: >> do.call(hist, list(x=1:10)) >> uses for the main title and also the axis labels >> "c(1,2,3,4,5,6,7,8,9,10)" >> So >> do.call(hist, list(x=1:10000)) >> nicely fills up your screen with numbers. >> Is there a way to get the deparsing from the list names to the labels >> right. >> Cheers, >> Florian >> >> PS: My sessionInfo: >> Version 2.3.1 Patched (2006-06-01 r38258) >> x86_64-unknown-linux-gnu >> >> attached base packages: >> [1] "grid" "tools" "methods" "stats" "graphics" >> "grDevices" >> [7] "utils" "datasets" "base" >> >> other attached packages: >> geneplotter annotate prada RColorBrewer Biobase >> "1.10.0" "1.10.0" "1.9.5" "0.2-3" "1.10.0" >> >> -- >> Florian Hahne >> Abt. Molekulare Genomanalyse (B050) >> Deutsches Krebsforschungszentrum (DKFZ) >> Im Neuenheimer Feld 580 >> D-69120 Heidelberg >> phone: 0049 6221 424764 >> fax: 0049 6221 423454 >> web: www.dkfz.de/mga >> >> ______________________________________________ >> R-devel at r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel >>-- Florian Hahne Abt. Molekulare Genomanalyse (B050) Deutsches Krebsforschungszentrum (DKFZ) Im Neuenheimer Feld 580 D-69120 Heidelberg phone: 0049 6221 424764 fax: 0049 6221 423454 web: www.dkfz.de/mga