hist: argument '...' is not made use of

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

hist: argument '...' is not made use of

Jennifer Lyon
Hi:

When converting some code to use plot = F in a call to hist(), I received
the following warning (with a much simplified example).

moo<-1:10
hist(moo, las=1, plot=F)

Warning message:
In hist.default(moo, las = 1, plot = F) : argument '...' is not made use of

>From the help page, I was able to figure out that it was the las=1
argument, which is not needed with plot = F that was my issue. My question
is whether this was the intended warning (instead of mentioning las = 1
explicitly, which might be hard to implement) and if so if there might be
some more direct way to figure out what was wrong from say args(hist),
since I initially thought I'd in some way unintentionally passed ... as an
argument?

sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-unknown-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base


Thanks!

Jen

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.