From ggrothendieck at gmail.com  Mon Jun 12 18:00:50 2006
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Mon, 12 Jun 2006 12:00:50 -0400
Subject: [Rd] do.call and hist
In-Reply-To: <448D8D36.5020704@dkfz-heidelberg.de>
References: <448D8D36.5020704@dkfz-heidelberg.de>
Message-ID: <971536df0606120900g4d1042d5k36d05c156a083e63@mail.gmail.com>

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
>



[Rd] do.call and hist
Gabor Grothendieck